Welcome to WebmasterWorld Guest from 54.198.179.85

Forum Moderators: goodroi

Message Too Old, No Replies

Querystring check

     
5:52 pm on Nov 1, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Jan 31, 2003
posts:194
votes: 0


Is it possible to give Google + co a NoIndex if the url loaded has a certain parameter in the querystring? E.g.

www.domain.com/index.php - is fine and wants to be indexed

www.domain.com/index.php?aff=123456 - block any indexing of pages with any 'aff' in the querystring

I want to do this as G has penalised one of my sites for duplicate contact due to inbound links to the same index.php page but just with different affiliate ids.

9:36 am on Nov 2, 2004 (gmt 0)

Junior Member

10+ Year Member

joined:Jan 31, 2003
posts:194
votes: 0


In these threads:

[webmasterworld.com...]
[webmasterworld.com...]
[webmasterworld.com...]

People suggest using RegEx for googlebot only, however no-one seems to give a final confirmation that it works for blocking select querystrings.

Can anyone confirm that this will work:

User-agent: Googlebot
Disallow: /index.php?aff=*$