| 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.
|
|
|