D
D
damarkuzz2021-07-28 08:24:06
robots.txt
damarkuzz, 2021-07-28 08:24:06

How to disable indexing of all pages with a specific get-parameter in robots.txt?

Yandex complained that there are a number of duplicate pages with a get parameter.
A link to such a page looks something like this: site.ru/blog/article?layout=new
The parameter is always the same, but its value changes. How to disable indexing of all links with layout=""?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
R
Ramis, 2021-07-28
@ramzis

Disallow: /article?layout=
Allow: /

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question