homepage Welcome to WebmasterWorld Guest from 54.211.138.180
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Accredited PayPal World Seller

Home / Forums Index / Search Engines / Sitemaps, Meta Data, and robots.txt
Forum Library, Charter, Moderators: goodroi

Sitemaps, Meta Data, and robots.txt Forum

    
Disallow .php in root folder but allow in sub.
mysticalsock




msg:3736183
 10:14 pm on Sep 1, 2008 (gmt 0)

Is it possible to disallow any urls ending in .php in the root directory eg Disallow: /*.php$ but allow them to be indexed in a sub directory?

 

goodroi




msg:3738225
 1:13 pm on Sep 4, 2008 (gmt 0)

Welcome to WebmasterWorld mysticalsock!

I am not sure you can use wildcards to block .php files for only the root. I know you could add a meta robots tag manually to each file but that might not be practical.

g1smd




msg:3770565
 5:19 pm on Oct 21, 2008 (gmt 0)

You would need to individually list each and all of the files to be disallowed.

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.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved