Answer the question
In order to leave comments, you need to log in
How to redirect all site pages to a new domain?
Hello! The essence of the question is this:
You need to make a temporary (302) redirect from all pages of the site to another domain.
I use this construction:
Redirect 302 / new-domain.com
BUT if there is a tail, for example: site.com/ru, then the redirect occurs to new-domain.comru
What needs to be written in .htaccess so that all pages of the old site lead to the main page of the new ?!
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