| Welcome to WebmasterWorld Guest from 22.214.171.124 |
register, login, search, subscribe, help, library, PubCon, 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.
WebmasterWorld ® and PubCon ® are a Registered Trademarks of Pubcon Inc.
© Pubcon Inc. 1996-2012 all rights reserved