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 Quote 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] Quote 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 Quote Link to comment https://forums.phpfreaks.com/topic/254416-htaccess-help/#findComment-1304667 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.