The search engines have indexed the link with the port www.site.ru:8808/link. How to prohibit to index the port?

0 like 0 dislike
21 views
Hello, colleagues!
Decided to protest the new service Habra daunting question, most likely, to SEO experts. In General, there is a website, and there is a port for testing new pieces — 8808. So the problem is that Yandex and Google has indexed some pages kind of site.EN:8808/link instead site.ru/link and these pages are located in the top of his queries. Is there a way to somehow prohibit the indexing of port, and preferably without a substantial loss in results?
by | 21 views

5 Answers

0 like 0 dislike
once indexed, it means something about how they found out, eliminate the cause, and put a permanent redirect on the website to normalnom port...
by
0 like 0 dislike
file robots.txt view
\r
User-Agent: *
Host: www.myhost.ru:80
\r

\r
banned index no port 80
by
0 like 0 dislike
it is better to make a rule that this port does a normal redirect with the 301 code, it search engines understand and correctly practiced.
by
0 like 0 dislike
Thank you all, will try.
by
0 like 0 dislike
But if in Yandex indexed www.myhost.ru:2222 and Host: myhost.EN:80 as to exclude from the index the first URL?..
by
110,608 questions
257,186 answers
0 comments
1,134 users