V
V
Valery Gutin2018-05-01 12:46:29
Yandex
Valery Gutin, 2018-05-01 12:46:29

How to disable indexing of pages with GET parameters?

There is a link like: sitename.com/info?id=1
How to disallow the entire /info folder regardless of the values ​​of the get-parameters?
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
entermix, 2018-05-01
@entermix

robots.txt:

User-agent: *

Disallow: /info*

Host: https://sitename.com/
Sitemap: https://sitename.com/sitemap.xml

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question