Answer the question
In order to leave comments, you need to log in
How to make a 301 redirect from each page of one domain to the same address of another?
It doesn't help.
For example, I used to have the example.ru domain, and now I have newexample.ru
How can I make it so that when I visit example.ru/page, I redirect to newexample.ru/page?
Thanks
Answer the question
In order to leave comments, you need to log in
RewriteEngine On
RewriteCond %{HTTP_HOST} example.ru
RewriteRule (.*) https://newexample.ru/$1 [R=301,L]
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question