[Solved] How do I remove the html from /contact.html?
-
I don't like the look of my address bar on my website when it says for example, /contact.html. Now I have no idea how to use .htaccess and php worked quiet well for me in other things, so if you know how to do it in php please respond. Or if you can tell me how to use .htaccess that would be cool!
@joelmb has the better solution which removes ALL of the .html extensions from your URL.
@joelmb What if you have a .php file and a .html files in the same directory? How can you use the same .htaccess file?
Add a Comment