| Welcome to WebmasterWorld Guest from 18.104.22.168 |
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
|Pubcon Platinum Sponsor|
|Disallow .php in root folder but allow in sub.|
| 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?
| 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.
| 5:19 pm on Oct 21, 2008 (gmt 0)|
You would need to individually list each and all of the files to be disallowed.
All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
© Webmaster World 1996-2014 all rights reserved