T
T
tinsle12019-03-12 16:45:46
Search Engine Optimization
tinsle1, 2019-03-12 16:45:46

How to close parameter pages in Robots.txt?

Hello. Tell me, on the site, along with normal pages, there are duplicates of two formats:
https://www.site.ru/ - the original page
https://www.site.ru/?&c=False - a duplicate of the first format
https://www. site.ru/ - original page
https://www.site.ru/?&s=1&c=False - duplicate of the second format
Would it be correct to write the following rules for them in robots.txt:
Disallow: /?&s=1&c=False
Disallow : /?&c=False
Thanks in advance.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
E
Eduard Safonov, 2019-03-13
@SEAQUANT

Disallow: /*?

D
Dimonchik, 2019-03-12
@dimonchik2013

https://developers.google.com/search/reference/rob...
it's better if
*?&s=1&c=False

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question