Link to home
Start Free TrialLog in
Avatar of Rowby Goren
Rowby GorenFlag for United States of America

asked on

Wildcard Disallow for robots.txt file ?

I have a number of pages of a site that have a paramater that I would like, when a robot finds it, will ignore it.

Example:

/bananas/frog/apple/foobar.raw
/mary/jack/jill/foobar.raw
/tony/orlando/dawn/foobar.raw

Can I make one disallow to cover anything that ends in /foobar.raw ??

Example,

Specifically, can I put the following in the robots.txt file

disallow /foobar

....and then it would take care of all instances where /foobar.raw is the last item in a url?

Thanks

Rowby
ASKER CERTIFIED SOLUTION
Avatar of Graham N.
Graham N.
Flag of United Arab Emirates 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
Avatar of Rowby Goren

ASKER

Hi  grahamnonweiler,

Thanks for that info and observation re behavior of spiders.

Sorry for the delay in awarding you your points.

I know now what to do!

Rowby