This isn’t meant to be a comprehensive post on everything pertaining to moving a site from // to https://. Instead, this is more like the quick cheatsheet. This is basically the list of steps I use to move my small sites (all pages) from HTTP:// to https://.
There may be bumps in the road or special circumstances (especially for larger sites) that I don’t cover here. But if you just want the quick summary, this should work for you.
If you have more than one site, I recommend you start by moving the smallest, least popular site. This gives you the ability to test things out without worrying too much.
At the end of this WordPress HTTP:// TO HTTPS:// QUICK START GUIDE, I’ve provided a few resources that helped me think through this process. Note that none of them perfectly met my needs, so that’s why I wrote my own here. This is mostly a reminder for me! LOL.
WordPress HTTP:// TO HTTPS:// QUICK START GUIDE
- Have host install SSL certificate for your domain.
- Go to https://yourdomain.com to see if it’s there, and if you have a green lock (you probably won’t have a green lock, so don’t worry at this point).
- Add the following to your wp-config file.
- Go to https://yourdomain.com/wp-admin and see if it works in the admin.
- Go to Settings > General and change the two urls there (WordPress address and site address) to https (Don’t freak out when WP kicks you out and makes you log back in. That’s normal.)
- Install and activate WP Force SSL plugin – https://wordpress.org/plugins/wp-force-ssl/
- Install and activate Search Regex plugin. Search for HTTP:// and replace all instances of it with //
- Run url through https://www.jitbit.com/sslcheck/ and especially https://www.whynopadlock.com/ if padlock is not green. Fix any problems. There are no shortcuts for this unfortunately. It may require digging into code. See next item.
- When checking for errant HTTP:// code, don’t forget to check in both theme settings and widgets
- Add https:// version to Google Webmaster Tools, er, Search Central
- Make sure rel=canonical is pointing to itself on the pages
Some hosts will install free SSL certificates. With luck, yours will too. If you need help with this, or would just like to have me handle it for you – perhaps even host your site for you – just get in touch.