Forum Moderators: coopster
If I understand you correctly you seem to be referring to "extensionless URIs". A quick search for that phrase or "Cool URI" will turn up some reading. It goes hand-in-hand with Content Negotiation [httpd.apache.org].
You can put this in a .htaccess file and put it on the root of your domain:
RewriteEngine on
Rewritebase /
RewriteRule ^([a-zA-Z0-9_-]*).html $1.php
-------
Then if you goto www.mydomain.com/my_file.html the server will really call my_file.php, but noone can see that.
Use it in a subdirectory for testing though. If the script above doesnt work (did it by memory) or if you server doesn't support modrewrite, it will make a 500 server error.
Is that what you mean?
PHP hide with others not hidden
If I understand you correctly you seem to be referring to "extensionless URIs".
A quick search for that phrase or "Cool URI" will turn up some reading. ...
www.webmasterworld.com/forum88/9081.htm - Similar pages
Google got this thing indexed quickly!