I’ve been researching and learning the steps to successfully move a site from HTTP to HTTPS using Let’s Encrypt, and I want to make sure I’m not missing an steps.
My current setup is an Ubuntu server with Apache already hosting a site using HTTP.
This is what I got thus far:
- Add DNS alias in the DNS manager for www.example.com.
- Install Let’s Encrypt and get certificate for example.com and www.example.com
- Make sure that during the installation Let’s Encrypt adds 301 redirect to VirtualHost file on Apache.
RewriteEngine on
RewriteCond %{SERVER_NAME} =example.com [OR]
RewriteCond %{SERVER_NAME} =www.example.com
RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,NE,R=permanent]
- Add a cron schedule to renew SSL certifications
- On WordPress General settings change “WordPress Address (URL)” and “Site Address (URL)” from http://example.com to https://example.com.
- On the WordPress database use search and replace to change all posts internal links to https://example.com
- Update Google Analytics site Property Settings “Default URL” from http:// to https://
- Update Bing Webmaster tools. Though, don’t know how. Help in this area will be appreciated.
Am I missing an step or anything else I need to do?
Are the steps in the correct order?
Can I have the site running with SSL without changing the internal links inside of posts for a few days until all the other changes are working correctly?