Forcelogin overriding www redirect to non-www
-
Is there a way to have the ‘www’ links redirect to my non ‘www’ site before the user is forced to login?
I tried including the below code in my .htaccess:
RewriteEngine On RewriteBase / RewriteCond %{HTTP_HOST} ^www\.(.*)$ [NC] RewriteRule ^(.*)$ https://%1/$1 [R=301,L]
However, it seems that Forcelogin overrides this setting and therefore still forces users to login when attempting to access the ‘www’ version of the site.
Support is greatly appreciated. Thanks.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Forcelogin overriding www redirect to non-www’ is closed to new replies.