HTTP to HTTPS (SSL) website conversion

In order to totally convert a website to HTTPS/SSL you need to take the following steps:

  1. Convert all urls from http to https via
    1. A database rewrite plugin like "WP Migrate DB".
    2. Or via the WPCLI command search-replace like: wp search-replace --precise --all-tables OLDURL NEWURL.
  2. Make sure there is an SSL certificate installed for that domain, preferably via AutoSSL.
  3. Add an htaccess redirect from http to https for any url that might have been missed.
  4. Google search consolse check and sitemap submit