Amplivyn Posted December 9, 2012 Share Posted December 9, 2012 Hello! I was just wondering, are there any ways to change the look of links with $_GET variables? For example, say I had www.website.com/index.php?action=some_page. Is it possible to change this to www.website.com/some_page or similar? I can think of some ways by creating directories and more files (perhaps create an index.php in that directory and retrieve information), but it would be nice to have some more dynamic way of doing things. Cheers, Amp Quote Link to comment https://forums.phpfreaks.com/topic/271795-making-links-with-less-_get-variables/ Share on other sites More sharing options...
DavidAM Posted December 9, 2012 Share Posted December 9, 2012 If you are using Apache, you want to look at mod_rewrite. Quote Link to comment https://forums.phpfreaks.com/topic/271795-making-links-with-less-_get-variables/#findComment-1398448 Share on other sites More sharing options...
Amplivyn Posted December 10, 2012 Author Share Posted December 10, 2012 Thanks, that was exactly what I was looking for, will look into it more, cheers! Quote Link to comment https://forums.phpfreaks.com/topic/271795-making-links-with-less-_get-variables/#findComment-1398491 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.