httaccess non www to www redirection error
-
Hello,
I have a problem with redirecting non www pages to www.
The problem is when I try to access page like: https://page.com/folder
it does not redirecting me to https://www.page.com/folder but to
https://www.page.comfolder/I am using recommended httaccess code:
RewriteCond %{HTTP_HOST} ^[^.]+\.[^.]+$
RewriteCond %{HTTPS}s ^on(s)|
RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]what caused this problem? any solutions how to solve this problem?
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘httaccess non www to www redirection error’ is closed to new replies.