Link to home
Start Free TrialLog in
Avatar of hankknight
hankknightFlag for Canada

asked on

robots.txt: exclude all pages that have ? in url

How can I prevent robots from following dynamic pages liks this?

http://www.example.com/page?item=value
Avatar of dangereux
dangereux
Flag of United States of America image

User-agent: *
Disallow: /page

or to disallow all pages (not recommended)
User-agent: *
Disallow: /
Avatar of hankknight

ASKER

ASKER CERTIFIED SOLUTION
Avatar of dangereux
dangereux
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial