Switching MultiSite installation from HTTP to HTTPS
I installed MultiSite with the URL set as http://example.com, but now I want to force all requests to go over HTTPS, so I'm trying to change the URL to be https://example.com. I've gone through the database and updated all the siteurl
and home
values to have https, but the site still loads over HTTP, instead of being redirected to HTTPS.
I know that I could setup some htaccess rules, but that's prone to errors. In regular installations WordPress will automatically redirect all requests to the canonical URLS defined in the siteurl
and home
settings, so I'm assuming that MultiSite does too.