Answer the question
In order to leave comments, you need to log in
How to deal with a 301 redirect?
Hello. There is such a task to make a 301 redirect (Domain redirection from www to non-www).
I have wordpress installed in the root file there is .htaccess with the content this
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
# END WordPress
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