Welcome to WebmasterWorld Guest from 184.73.8.127

Forum Moderators: goodroi

Message Too Old, No Replies

Blocking Email and Print only URLS

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

5+ Year Member



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

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

WebmasterWorld Senior Member 5+ Year Member



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