How-to convert your WordPress Multisite to use SSL
- Take a backup of your WordPress database.
- 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.