Page is a not externally linkable
- Code, Content, and Presentation
-- Apache Web Server
---- mod rewrite: /foo but not /foo.php


g1smd - 12:22 am on Oct 13, 2012 (gmt 0)


@lucy

^([^.]*)\.php$ allows blank filename. Replace * with + here.

Assume you'd want to redirect to extensionless. Either block or redirect. It doesn't matter either way if the .php URLs haven't been previously published.


Thread source:: http://www.webmasterworld.com/apache/4507342.htm
Brought to you by WebmasterWorld: http://www.webmasterworld.com