Answer the question
In order to leave comments, you need to log in
How to correctly specify a redirect?
We made a new site, and we can’t do relinking, namely:
Redirect 301 /pesok/kvarceviy-pesok/ https://newsite.ru/pesok/
As a result, relinking goes to https://newsite.ru/pesok/kvarceviy-pesok / , that is, it adds something extra to the end
. Why is that? How to fix ?
How to make relinking strictly according to the specified link?
Answer the question
In order to leave comments, you need to log in
As a result, the linking goes to https://newsite.ru/pesok/kvarceviy-pesok/ , that is, it adds an extra to the end
Redirect 301 / https://newsite.ru/
and it works. Redirect 301 /pesok/kvarceviy-pesok/ https://newsite.ru/pesok/
Redirect 301 / https://newsite.ru/
RedirectMatch 301 ^/$ https://newsite.ru/
RedirectMatch 301 ^/pesok/kvarceviy-pesok/$ https://newsite.ru/pesok/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question