Welcome to WebmasterWorld Guest from

Forum Moderators: goodroi

Message Too Old, No Replies

Block affiliate tracking

but keep the main page in Google



9:57 am on Jul 9, 2007 (gmt 0)

10+ Year Member

Hi People,

Had a few looks into this and cannot find a solution so hoping someone here can help.

We post items as /item.php/85756

We ask affiliates to send us traffic as:

Google is now indexing /item.php/85756?ref=partner1

Want to still allow Google into /item.php/85756

but block the?ref=partner1

Is this possible using robots.txt?


11:24 am on Jul 9, 2007 (gmt 0)

5+ Year Member


a better and more solid way would be to redirect 301 anything that comes in with an affiliate link to a url without the aff parameter.



1:14 pm on Jul 9, 2007 (gmt 0)

10+ Year Member

I don't quite understand what you are trying to do.

Are you saying that your affiliates links are being indexed and ranked by google and you want to stop that happening?

Or that you don't want the end user to see the aff code on the end of the string?


[edited by: ska_demon at 1:53 pm (utc) on July 9, 2007]


1:23 pm on Jul 9, 2007 (gmt 0)

WebmasterWorld Administrator goodroi is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

that is going to make some affiliates not happy. affiliates generally want to see their id code in the url to make sure they are getting credit for all sales. the redirect would solve the search engine issue but create a new issue with affiliates. maybe your affiliates aren't that sensitive and will be ok with it.

an alternative would be to use pattern matching aka wildcards in your robots.txt for google.

good luck


2:26 pm on Jul 9, 2007 (gmt 0)

10+ Year Member

Cheers oziman, very sensible! Have now done this, thanks for the help.

Featured Threads

Hot Threads This Week

Hot Threads This Month