H
H
Horosh2942020-07-04 08:15:38
DLE
Horosh294, 2020-07-04 08:15:38

How to disable indexing of pages in DLE categories?

There is a site with links on it when you enter, for example
https://site.site/kastruli/serye/
. But like any dle, you can go to the second page with news
https://site.site/kastruli/serye/page/2/
. So I need to close all pages of all categories from /page/.../ for indexing. How to do it?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
generate, 2020-08-06
@generate

Add to robot.txt at the end
Disallow: */page/*
But in this case, all pages will not be indexed, site.ru/page/1 and so on.
You can check here what will be indexed and what will not https://webmaster.yandex.ru/tools/robotstxt/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question