homepage Welcome to WebmasterWorld Guest from 54.163.72.86
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 all except root (index.php)
would disallow ALL , allow index work?
bkode




msg:3485838
 7:56 am on Oct 24, 2007 (gmt 0)

hi,

i'd like to just disallow all except the root. so was wondering in which order i should put my allow,disallow and what it must say . here it is:

robots.txt
----------
User-agent: *
Disallow: /
Allow: /index.php
----------

but the crawlers dont seem to have indexed the site yet even though another subdomain is .

what am i doing wrong? how do i block everything execpt the root (index.php)

PS : via htaccess my index.php points to /

~
bk

 

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