One of the most difficult things in WordPress can be the set your website to use HTTPS and having to manually fix any unsecured HTTP URLs to avoid mixed content warnings. To spare users from this hassle, setting a website to use HTTPS in WordPress is now so simple, and can be easily done with a one-click option inside your WordPress admin panel. Additionally, as part of the update process, WordPress will automatically update database URLs!
How to Set Your Website to Use HTTPS in WordPress
To force an HTTPS Redirect in WordPress, please follow the steps below:
Step 1) Once logged into your WordPress admin panel, on your WordPress Dashboard, look for the Tools section in the left-hand side menu then click on Site Health.
Additionally, you can look for the Site Health Status area. Click the link for “Site Health Screen” to open that Utility.
Step 2) Once the Site Health Screen opens, the Utility will run scans on your WordPress site to determine if there are any issues with the Health and Performance of your Site. Let the utility run.
If your site is not using HTTPS, you will see a screen that looks similar to the one below:
Step 3) Click the downward-facing arrow next to the warning about your site not using HTTPS then click the blue-button titled Update your site to use HTTPS.
If WordPress detects that HTTPS is already supported for your Website but your Site Address isn’t using HTTPS by default, simply click the update your site to use HTTPS button and WordPress will upgrade itself to HTTPS and automatically change all your Site URLs in the process + migrate the content to the new HTTPS URLs.
Once the site will be updated to use HTTPS, you will be logged out of your WordPress admin panel. Logging in again, you will see a successful message:
Site URLs switched to HTTPS.
That’s it! WordPress will modify itself to use https:// instead of http:// in all of the URLs referencing itself on your site! No other trickery or configuration needed. It’s like magic!