Processing redirects
- What redirects are recognized by the Yandex robot?
- What is the difference between in-host redirection and host-to-host redirection?
- How does Yandex process in-house redirects?
- I changed the site structure using redirects. Will the new pages appear in search results?
- I put a redirect with the HTTP code 301, and in the search results I see the redirection source. Why?
- I set up redirection from a.ru/page pages to a.ru/page/. What redirection should I use to have a.ru/page/ pages shown in search results?
What redirects are recognized by the Yandex robot?
What is the difference between in-host redirection and host-to-host redirection?
In-host redirection is a redirection within the same host (FQDN). Host-to-host redirection is redirection to a page residing on a different host.
Example of an in-host redirect:
a.ru/ -> a.ru/index.html
www.a.ru/index1.html -> www.a.ru/index2.html
Example of an inter-host redirect:
a.ru/index1.html -> www.a.ru/index2.html
a.ru/index1.html -> b.ru/index2.html
How does Yandex process in-house redirects?
If one page (the source) redirects to another page (the target) within the same host, the robot will index the content of the target page, but the search results will in some cases display links to the source, and in some cases, links to the target.
If redirection with the HTTP code 301 is used between internal pages of the host, the search results will display the target page.
a.ru/page1 ->301 a.ru/page2
If temporary redirection (302/303/307/Meta refresh) is used between internal pages of the host, the search results will display the shortest of the two URLs.
a.ru/33/ ->302 a.ru/index.php?id=33
b.ru/temporarypage/ ->302 b.ru/page/
The main page of the host is always displayed in the search results.
a.ru/ -> a.ru/innerpage
a.ru/innerpage -> a.ru/
I changed the site structure using redirects. Will the new pages appear in search results?
They will be displayed if you set a redirect with the HTTP code 301 from the old pages to the new ones.
I put a redirect with the HTTP code 301, and in the search results I see the redirection source. Why?
The search results will be updated some time after the Yandex robot crawls the redirect source.
I set up redirection from a.ru/page pages to a.ru/page/. What redirection should I use to have a.ru/page/ pages shown in search results?
You should install a redirect with the HTTP code 301 from the a.ru/page pages to the a.ru/page/ pages.