Answer the question
In order to leave comments, you need to log in
Why might a redirect from www to non-www not work?
There is a vesta, I didn’t change any configs after installing it, I ran into the fact that
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_HOST} ^www\.(.*)$
RewriteRule ^(.*)$ http://%1/$1 [L,R=301]
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question