seany123 Posted May 17, 2011 Share Posted May 17, 2011 Please can someone point me into the right direction on how to remove the .html extension 1 OR all of my pages... also is is possible to remove the current page aswell? so address bar just shows eg "http://www.example.com/folder/" Link to comment https://forums.phpfreaks.com/topic/236654-how-to-remove-html-extension-from-address-bar/ Share on other sites More sharing options...
cssfreakie Posted May 17, 2011 Share Posted May 17, 2011 you need mod_rewrite for that assuming you run on apache. : http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html there are quite some topics about this on this forum. just search for mod_rewrite. Anyway the link i gave has an example with a .html extension Link to comment https://forums.phpfreaks.com/topic/236654-how-to-remove-html-extension-from-address-bar/#findComment-1216571 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.