WordPress

How-to use SSL on your WordPress Multisite

How-to convert your WordPress Multisite to use SSL

  1. Take a backup of your WordPress database.
  2. Disable any caching plugins in your WordPress Dashboard.
  3. 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.
  4. 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]
    
  5. Fix any JavaScript, CSS or Image links which are using http:// and change them to use https:// to avoid mix-content errors.
  6. Re-enable your caching plugins.

Was this guide helpful?

Need help with this?

Open a ticket and link to this guide so our team can see what you have tried.

View support tickets

Power your business with Ecenica Hosting

Built for WordPress and serious websites. Fast, secure and supported by real people in the UK.

Ecenica hosting services represented by a connected red route across London