homepage Welcome to WebmasterWorld Guest from 54.226.191.80
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member

Visit PubCon.com
Home / Forums Index / Search Engines / Sitemaps, Meta Data, and robots.txt
Forum Library, Charter, Moderators: goodroi

Sitemaps, Meta Data, and robots.txt Forum

    
Blocking Email and Print only URLS
himalayaswater




msg:3794945
 10:11 pm on Nov 26, 2008 (gmt 0)

I'd like to block following patterns (only email and print pages):
http://example.com/view/1/email
http://example.com/view/2/print
http://example.com/view/3/email/
http://example.com/view/4/print/

So I've added following code to robots.txt?
Disallow: /*/email/$
Disallow: /*/print/$
Disallow: /*/email$
Disallow: /*/print$

Am I correct? I think my code is correct but I'm not sure.. just need confirmation...

TIA

 

ZydoSEO




msg:3801798
 12:14 am on Dec 7, 2008 (gmt 0)

Have you tested your robots.txt using the tool provide in Google's Webmaster Tools?

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Search Engines / Sitemaps, Meta Data, and robots.txt
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