Yes, I\'ve read the Apache manual and searched here. For some reason I simply cannot get this to work. The closest I\'ve come is having it remove the extension, but it point
If your url in PHP like http://yourdomain.com/demo.php than comes like http://yourdomain.com/demo
This is all you need:
RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f #RewriteRule ^([^\.]+)$ $1.html [NC,L] RewriteRule ^([^\.]+)$ $1.php [NC,L]