almightyegg Posted October 2, 2007 Share Posted October 2, 2007 How would I go about writing a command in htaccess to make it so that when a url has variable in it, it hides it. Eg: index.php?id=42&pie=apple would go to index.php but the variables are still there?? I've heard it is possible. Any ideas wiould be greatly appreciated Quote Link to comment https://forums.phpfreaks.com/topic/71573-mod-rewrite/ Share on other sites More sharing options...
MmmVomit Posted October 2, 2007 Share Posted October 2, 2007 If that data is being submitted from a form, just change the form so that it uses the POST method instead of the GET method. If the page is visited via a hyperlink, you should look at this thread. http://www.phpfreaks.com/forums/index.php/topic,161623.0.html I don't think there's any need for redirecting. Quote Link to comment https://forums.phpfreaks.com/topic/71573-mod-rewrite/#findComment-360343 Share on other sites More sharing options...
almightyegg Posted October 2, 2007 Author Share Posted October 2, 2007 it isn't redirecting, it is just hiding part of the URL Quote Link to comment https://forums.phpfreaks.com/topic/71573-mod-rewrite/#findComment-360344 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.