Forum Moderators: DixonJones

Message Too Old, No Replies

How to block these urls

         

anne10

6:13 am on Nov 18, 2010 (gmt 0)

10+ Year Member



This is my url,

mydomain/Home.do?parameter=addToCart&productID=10485&quantity=1

The Quantity and Productid varies

How could I block these urls in Robots.txt

cuiyj

5:56 am on Nov 21, 2010 (gmt 0)

10+ Year Member



Add below text into your Robots.txt (* is wildcard which is supported by google, bing and yahoo)

Disallow: /Home.do?parameter=addToCart*productID=*quantity=*

tangor

7:06 am on Nov 21, 2010 (gmt 0)

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



Your product pages are already indexed, correct? Why allow any "addToCart" links?

Disallow: /Home.do?parameter=addToCart

Should stop all those links from indexing...

anne10

12:35 pm on Nov 22, 2010 (gmt 0)

10+ Year Member



These urls are not getting indexed but showing empty redirects in Google webmaster tool.