Forum Moderators: Robert Charlton & goodroi

Message Too Old, No Replies

Duplicate Content Issue: Google Crawling Affiliate URLs

         

gunjanp

7:40 am on Jul 4, 2008 (gmt 0)

10+ Year Member



Hallo,

I have one site i have done seo for that site. We are also running affiliate campaign for our site. so my other pages indexing with affiliate urls in the Google.

So i think this will creates duplicate content issue for me.

Now i have two suggestion for solving this issue, but I am not sure that they are effective way so please let me know. This is the right way or not.

1. Create Affiliate folder on server and place same pages of sites there and block this affiliate in Googlebot..
2. If we place <rel="nofollow, noindex"> tag on every affiliate links. Not in page..

So which one is the the good solution for me.

And If you know any other way that how to block affiliate urls, then please let me know..

I am waiting for your reply, Thanks

gunjanp

11:49 am on Jul 4, 2008 (gmt 0)

10+ Year Member



or anybody suggest me that how i can block this kind of affiliate urls.

/product.html?a_aid=6bee5108&a_bid=d08e3667
/product.html?a_aid=80c69612&a_bid=95308704%20
/product.html?a_aid=6bee5108&a_bid=95308704

how to block these urls through robots.txt or any other programming ways if you know please let me know.

These types of urls increasing more and more day by day.

tedster

7:17 pm on Jul 4, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Simple Fix:
Use robots.txt with pattern matching wildcards to block any crawling of url with an a_aid parameter

User-agent: *
Disallow: /*?a_aid

Google Help on pattern matching [google.com]

If there are never any other query strings used in urls that you want to see indexed, then you could go one step further and block all urls that contain a question mark.

User-agent: *
Disallow: /*?

Advanced Fix:
First, capture any data you need from the query string. Then code a 301 redirect that points the request to the same url with the query string stripped away. The technical details will depend on your server technology, so they can be discussed in either of our Apache [webmasterworld.com] or Windows IIS [webmasterworld.com] forums.

gunjanp

4:37 am on Jul 6, 2008 (gmt 0)

10+ Year Member



thanks for the Great Tips