-
Hello
I want all the client's website to work with domain.com and www.domain.com.
I put those lines in the .htaccess. Seems that some site are working www.klassmattress.com and klassmattress.com also working. But I created new site www.observservicos.com.br working fine but http://observservicos.com.br gives me SB 404 error (not found).
Open .htaccess file from the root of our application and after the line,
RewriteBase /
add this following line,# Redirect to www
RewriteCond %{HTTP_HOST} ^[^.]+\.[^.]+$
RewriteCond %{HTTPS}s ^on(s)|
RewriteRule ^ http%1://www.%{HTTP_HOST}%{REQUEST_URI} [L,R=301]Replies only viewable for logged in users
- This reply was modified 6 years, 10 months ago by Andrew Ozols.
Viewing 10 posts - 1 through 10 (of 10 total)
The topic ‘www’ is closed to new replies.