Forum Moderators: goodroi

Message Too Old, No Replies

Does this work?

disallow multiple bots at once...

         

Devilfear

9:55 pm on Jul 25, 2007 (gmt 0)

10+ Year Member



Hi i have some pretty nasty dynamic content on one of my sites. which includes some voting, on voting.php and i want it not to be followed by google or any other bots for that matter.

since my urls looks like vote.php?id=1, vote.php?id=2, vote.php?id=3
etc...

is it only necessary to write in robots.txt

User-agent: *
Disallow: /vote.php

and google bot will not follow up on any vote.php?id=1 etc.?

Thank you for your help.

Marshall

6:19 am on Jul 27, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member Top Contributors Of The Month



User-agent: *
Disallow: /vote.php

This will disallow all user agents for that file.

Marshall

new_seo

6:48 am on Jul 27, 2007 (gmt 0)

10+ Year Member



You can put those pages in a directory and then disallow that directory.