Disable any caching plugins in your WordPress Dashboard.
Edit your WordPress database and change all hardcoded URLs from http:// to https://. You can use tools such as Search and Replace to quickly bulk change the hardcoded URLs or use phpMyAdmin to manually edit records.
Add the following code to the top of your /public_html/.htaccess file:
# Redirect to HTTPS
RewriteEngine On
RewriteCond %{HTTPS} !=on
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
Fix any JavaScript, CSS or Image links which are using http:// and change them to use https:// to avoid mix-content errors.
Re-enable your caching plugins.
Did this answer your question?
Thanks for your feedback!
Need help with this?
Open a ticket and link to this guide so our team can see what you have tried.