N
N
Numb82010-09-03 12:01:06
Search Engine Optimization
Numb8, 2010-09-03 12:01:06

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

Hello colleagues!
I decided to test the new Habr service with a difficult question, most likely for SEO experts. In general, there is a site, and there is also a port for testing new things - 8808. So the problem is that Yandex and Google indexed several pages of the form site.ru:8808/link instead of site.ru/link and these pages are in the top to your requests. Is there a way to somehow disable port indexing and preferably without a significant loss in output?

Answer the question

In order to leave comments, you need to log in

5 answer(s)
S
SerGold, 2010-09-03
@SerGold

once indexed, it means that they somehow found out about them, eliminate the cause, and put a permanent redirect to the site on the normal port ...

D
dAverk, 2010-09-03
@dAverk

robots.txt file of the form

User-Agent: *
Host: www.myhost.ru :80

prohibit indexing on port 80

S
silentroach, 2010-09-03
@silentroach

it is better to make a rule that makes a normal redirect with a 301 code from this port, the search engines understand it and work it out correctly.

N
Numb8, 2010-09-03
@Numb8

Thanks everyone, we'll try.

A
Andrew B., 2015-10-12
@BizDirect

And if Yandex indexed www.myhost.ru:2222, and Host: myhost.ru:80, how to exclude the first URL from the index?..

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question