Forum Moderators: Robert Charlton & goodroi
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
/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.
User-agent: *
Disallow: /*?a_aidGoogle 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.