Mystixs Posted September 24, 2007 Share Posted September 24, 2007 I have this URL: http://ryu.kwix.info/ML/game.php?location=Mertan&action=Chop%20Wood And I want it to be automatically changed to http://ryu.kwix.info/ML/game.php? and never change, but I still want the information to be passed. Does anyone know how? Thanks Link to comment https://forums.phpfreaks.com/topic/70487-hiding-urls/ Share on other sites More sharing options...
LiamProductions Posted September 24, 2007 Share Posted September 24, 2007 Your using Get? $_POST ? Link to comment https://forums.phpfreaks.com/topic/70487-hiding-urls/#findComment-354074 Share on other sites More sharing options...
Mystixs Posted September 24, 2007 Author Share Posted September 24, 2007 GET. When I tried using post, the URL's still showed and nothing worked. Link to comment https://forums.phpfreaks.com/topic/70487-hiding-urls/#findComment-354076 Share on other sites More sharing options...
quickstopman Posted September 24, 2007 Share Posted September 24, 2007 you could try modrewrite i think that would solve the problem Link to comment https://forums.phpfreaks.com/topic/70487-hiding-urls/#findComment-354078 Share on other sites More sharing options...
Mystixs Posted September 24, 2007 Author Share Posted September 24, 2007 Problem is I have no idea how to do modrewrite and when I tried learning I was totally confused... Link to comment https://forums.phpfreaks.com/topic/70487-hiding-urls/#findComment-354091 Share on other sites More sharing options...
BlueSkyIS Posted September 24, 2007 Share Posted September 24, 2007 this is one for the mod_rewrite area of Apache forum, but... RewriteEngine On RewriteRule ^ML/game\.php$ http://ryu.kwix.info/ML/game.php?location=Mertan&action=Chop%20Wood [NC,L] or something similar... Link to comment https://forums.phpfreaks.com/topic/70487-hiding-urls/#findComment-354104 Share on other sites More sharing options...
Mystixs Posted September 24, 2007 Author Share Posted September 24, 2007 I did that but it didn't work EDIT: It still wont work. Link to comment https://forums.phpfreaks.com/topic/70487-hiding-urls/#findComment-354109 Share on other sites More sharing options...
LemonInflux Posted September 24, 2007 Share Posted September 24, 2007 http://www.modrewrite.com Link to comment https://forums.phpfreaks.com/topic/70487-hiding-urls/#findComment-354133 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.