homepage Welcome to WebmasterWorld Guest from
register, free tools, login, search, pro membership, help, library, announcements, recent posts, open posts,
Become a Pro Member
Home / Forums Index / Search Engines / Sitemaps, Meta Data, and robots.txt
Forum Library, Charter, Moderators: goodroi

Sitemaps, Meta Data, and robots.txt Forum

Unknowingly restricting some directories

10+ Year Member

Msg#: 832 posted 6:20 am on Jan 13, 2006 (gmt 0)

Hi, for the longest time I have been restricting some important directories on my site from being crawled. My mistake was simple (and superiorly dumb). I left out the slash (/) after the name of the directory.


User-agent: *
Disallow: /b

I found out that by not putting a slash after the b, I am restricting all directories starting with that letter! ARgh!

Now that I have corrected it, will it still be possible to get Google et al to include the once restricted directories? How long should that take? I am now linking heavily to the pages in question and they are included in my sitemap. Please tell me what other things I can do. Thanks!



WebmasterWorld Senior Member 5+ Year Member

Msg#: 832 posted 4:40 am on Jan 20, 2006 (gmt 0)

Your aren't only disallowing any directories starting with b, but everything starting with b.

See also this thread [webmasterworld.com] about why it is sometimes not a good idea to have a trailing slash for disallowing directories.

I'd suggest making your directory names more meaningfull and distinct from any other pages/resources, so your disallow can refer only to those things you want to disallow.

Just make the changes to your robots.txt and naming conventions and they will get indexed eventually.

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