Answer the question
In order to leave comments, you need to log in
How to disable all parameters in robots.txt except for certain ones?
How to disable all GET parameters in robots.txt, except for certain ones. For example, such as: ?page= and ?tag=
That is, so that:
All parameters are not available for indexing Disallow
But the ?page= and ?tag= parameters are available Allow
Answer the question
In order to leave comments, you need to log in
This is better to close the canonical.
If you are sure that you need to close from scanning, then try experimenting with this design:
Disallow: *?*
Allow: *?page=*
Allow: *?tag=*
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question