F
F
Faflick2021-09-10 11:52:36
Nginx
Faflick, 2021-09-10 11:52:36

How to close all pages after a certain level of nesting from indexing?

Tell me, please, there are urls of the form:
- /catalog/ - a page with all catalogs
- /catalog/torgovoe_oborudovanie/ - a page with the corresponding subcategories
all pages must be blocked for indexing and visiting the form:
- /catalog/podcatalog_name/product_id/
but at the same time url type
- /catalog/podcatalog_name/
- /catalog/podcatalog_name/sel_podborka_name/ should be available

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Alexander Denisov, 2021-09-10
@Grinvind

Try in Ya.Webmaster to test the following rule
Disallow: /catalog/podcatalog_name/
Allow: /catalog/podcatalog_name/sel_podborka_name/

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question