I've searched the web and read various tutorials on how to do this, but none seems to be working. I tested if htaccess is working by setting a password, and it works fine, but I really can't seem to find a way to remove file extensions from the url.
So far, most of the tutorials claim this to be the solution, does my .htaccess file need to have anything else? Or just that? And if so, why isn't it working.
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond %{REQUEST_FILENAME}\.html -f
RewriteRule ^([^/]+)/$ $1.html
Can anyone supply me with the full code?
Thanks for your time.


LinkBack URL
About LinkBacks
Reply With Quote


