https redirect via httaccess only works on first site in multisite setup
-
Hi, I can’t seen to get my WP Multi-site setup to redirect from http to https on anything other than the first site, my site number 2+ or any of the other sites simply doesn’t want to redirect, the default site however does fine.
I’ve tried putting the following in .httaccess… (C:\inetpub\wordpress\.htaccess)
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]I am happy for ALL sites to re-direct to https, first site seems to work a treat however i have noticed that if comment out (#) EVERYTHING in .htaccess file the FIRST site STILL auto-redirects to https despite .httaccess effectively having nothing in it! – Am I missing something obvious ? I’ve got no plugins that perform https redirect so i’m a bit stumped as to whats going on.
The certificates are working ok, i can type https://www.mydomain.com or https://mydomain.com and it loads over https ok, https is in the domains Site Address (URL) and also ‘Siteurl’ and ‘Home’ settings for multisite.
Many thx
The page I need help with: [log in to see the link]
The topic ‘https redirect via httaccess only works on first site in multisite setup’ is closed to new replies.