Welcome to WebmasterWorld Guest from 23.20.147.6

Forum Moderators: goodroi

Message Too Old, No Replies

Blocking Email and Print only URLS

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

Full Member

5+ Year Member

joined:Jan 29, 2008
posts:243
votes: 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

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

Senior Member from US 

WebmasterWorld Senior Member 5+ Year Member

joined:Nov 11, 2007
posts:774
votes: 3


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

Join The Conversation

Moderators and Top Contributors

Hot Threads This Week

Featured Threads

Free SEO Tools

Hire Expert Members