homepage Welcome to WebmasterWorld Guest from 54.166.53.169
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Pubcon Platinum Sponsor 2014
Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
Forum Library, Charter, Moderators: Receptional & mademetop

Website Analytics - Tracking and Logging Forum

    
How to block these urls
anne10



 
Msg#: 4231812 posted 6:13 am on Nov 18, 2010 (gmt 0)

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

10+ Year Member



 
Msg#: 4231812 posted 5:56 am on Nov 21, 2010 (gmt 0)

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

WebmasterWorld Senior Member tangor us a WebmasterWorld Top Contributor of All Time 5+ Year Member Top Contributors Of The Month



 
Msg#: 4231812 posted 7:06 am on Nov 21, 2010 (gmt 0)

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



 
Msg#: 4231812 posted 12:35 pm on Nov 22, 2010 (gmt 0)

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

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / WebmasterWorld / Website Analytics - Tracking and Logging
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Home ¦ Free Tools ¦ Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About ¦ Library ¦ Newsletter
WebmasterWorld is a Developer Shed Community owned by Jim Boykin.
© Webmaster World 1996-2014 all rights reserved