I’ve moved many WordPress sites from http
to https
. The easiest ways are as follows:
If you’re hosted with SiteGround, they have a one-click option and it’s all done. The security certificate is free too.
If you’re not on a host that automatically does it for you, and there’s no free SSL, you can do the following:
- Go to Cloudflare and get a free CDN account. The free account provides a certificate.
- Follow the settings within Cloudflare and turn on https.
- Then install the plugin “SSL Insecure Content Fixer” or something similar
- Check your website for mixed content errors, fix them if necessary.
- When there no errors, you’re good to go.
Cloudflare and the plugin will fix any additional content on your website Cloudflare can’t change to support https. There’s no need to do a search and replace to update all your URLs but you can do that if you want.
Troubleshooting:
- Sometimes you need to hardcode the site URL and site directory to get things to work.
- Sometimes you need to keep your URLs at http in the database for Cloudflare and plugin to give you the desired results.