Search Engines have indexed the link with the port - www.site.ru:8808/link. What is the best way to prevent port indexing?

Asked by christina

Hello colleagues!
Decided to protest new service habr a difficult question, most likely, to experts on SEO. In general, there is a website, and there is also a port for testing new items - 8808. So the problem is that Yandex and Google indexed several pages like site.ru:8808/link instead of site.ru/link and these pages are in the top your requests. Is there a way to somehow prohibit port indexation and preferably without a significant loss in the issue?

Answers

rebecca wilson
times indexed - then something like they found out about them, eliminate the cause, and put a permanent redirect to the site on the normal port ...
riddhika
robots.txt file of the form
User-Agent: *
 Host: www.myhost.ru: 80


It prohibits indexing non-80 port
Replies:
Yandex put this on, waited several months for the host to change to no www via robots. Then he spat, and forcibly in .htaccess did www- & gt; without www, only then the domain was changed in the issue. - alec hutson
has just been tested by webmasters with the Yandex test. Reporting what works.
- vedad famourzadeh
flannery
. It is better to make a rule that a normal redirect with code 301 makes from this port, its search engines understand and work correctly.
Replies:
I join, I wrote about this above and wrote that only through the redirect rule from 301 I managed to get what I wanted, no robots helped. - cortney gardner
nichelle
Thank you all, we will try.
brittany franklin
And if in Yandex was indexed www.myhost.ru:2222, and Host: myhost.ru:80 how to exclude the first URL from the index? ..
Do you use arx-bot? :: PCI-Express 1.0 x16 vs. PCI-Express 2.0 x16 - is there a tangible difference? :: Habr is becoming popular among spammers, or where did they get my e-mail from? :: Free hosting panel for FreeBSD :: How to solve the problem with the coding in conjunction Evolution + Exchange 2007?
Leave Repply for Search Engines have indexed the link with the port - www.site.ru:8808/link. What is the best way to prevent port indexing?
Useful Links