P
P
pashabomber2014-09-17 11:37:04
Search Engine Optimization
pashabomber, 2014-09-17 11:37:04

How to close a page like index.php?id=123 from indexing?

Good afternoon!
Pages on the site look like site.ru/index.php?id=123, site.ru/index.php?id=124 , etc.
Tell me how to close one of these pages from indexing?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Sergeev, 2014-09-17
@Doppler_ua

Robots.txt
Disallow: /index.php?id=124 - one page (substitute the desired address)
Disallow: //index.php?id=12* - all pages containing "index.php?id=12(any character)"

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question