Welcome to WebmasterWorld Guest from 54.162.57.225

Forum Moderators: goodroi

Message Too Old, No Replies

Block specific part of the site

     
3:42 pm on Nov 23, 2010 (gmt 0)

New User

5+ Year Member

joined:Nov 23, 2010
posts:1
votes: 0


I was wondering if any of you guys know how to use robots.txt file to block acces to a specific portion of a site;

subdomain.com/language_id/content_url

We have about 40 subdomains and same ammount of language id's.
5:19 pm on Nov 29, 2010 (gmt 0)

Administrator from US 

WebmasterWorld Administrator goodroi is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month

joined:June 21, 2004
posts:3100
votes: 86


hi mseo and welcome to webmasterworld!

are you just trying to block the launguae_id folder?


User-agent: *
Disallow: /language_id/
12:53 am on Nov 30, 2010 (gmt 0)

Senior Member

WebmasterWorld Senior Member 10+ Year Member

joined:May 31, 2005
posts:1108
votes: 0


And you will need to put that in the robots.txt in the root folder of each sub domain.