: Have you tried to manually adding the protocol prefix? http://test.example.com won't get redirected. Options -Multiviews RewriteEngine On RewriteCond %{HTTP_HOST} ^www(.*) RewriteCond %{HTTP_HOST} !^www.example.com
Have you tried to manually adding the protocol prefix?
test.example.com won't get redirected.
Options -Multiviews
RewriteEngine On
RewriteCond %{HTTP_HOST} ^www(.*)
RewriteCond %{HTTP_HOST} !^www.example.com
RewriteRule ^(.*).example.com/(.*)$ .example.com/ [R=301,L]
RewriteCond %{HTTP_HOST} ^example.com
RewriteRule ^(.*)$ www.example.com/ [R=301,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ .php
In the future, look at this article: support.mozilla.org/en-US/questions/714016
More posts by @Turnbaugh106
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.