lordfirex Posted January 5, 2012 Share Posted January 5, 2012 Hey guys, i'm having some issues with mod_rewrite. It's definitely on, on the server as another website on the server uses mod_rewrite well enough. The problem is that: http://www.example.com/?nav=Contact should be re-written as http://www.example.com/contact/ This is my current .htaccess file: Options +FollowSymLinks RewriteEngine on RewriteRule ^/contact$ /?nav=Contact I can't get this to work Link to comment https://forums.phpfreaks.com/topic/254416-htaccess-help/ Share on other sites More sharing options...
JonnoTheDev Posted January 5, 2012 Share Posted January 5, 2012 RewriteBase / RewriteRule ^contact$ ?nav=Contact [L] Link to comment https://forums.phpfreaks.com/topic/254416-htaccess-help/#findComment-1304514 Share on other sites More sharing options...
lordfirex Posted January 6, 2012 Author Share Posted January 6, 2012 Thank you. Worked perfectly Link to comment https://forums.phpfreaks.com/topic/254416-htaccess-help/#findComment-1304667 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.