han003 Posted October 5, 2013 Share Posted October 5, 2013 Hi!Lets say I make a site where users can register, and instead of having the profile pages likewww.mysite.com/user.php?user=randomguy1 I want to make them likewww.mysite.com/randomguy1 Hope you understand! Quote Link to comment https://forums.phpfreaks.com/topic/282742-user-folders-help/ Share on other sites More sharing options...
.josh Posted October 5, 2013 Share Posted October 5, 2013 google "mod rewrite" and "beautify urls" Quote Link to comment https://forums.phpfreaks.com/topic/282742-user-folders-help/#findComment-1452735 Share on other sites More sharing options...
han003 Posted October 5, 2013 Author Share Posted October 5, 2013 Thanks! Quote Link to comment https://forums.phpfreaks.com/topic/282742-user-folders-help/#findComment-1452736 Share on other sites More sharing options...
vinny42 Posted October 6, 2013 Share Posted October 6, 2013 And don't get tempted to write new rewrite-rules for every user, simply rewrite al URL's to index.php and use PHP to examine the URL and decide what todo. Quote Link to comment https://forums.phpfreaks.com/topic/282742-user-folders-help/#findComment-1452766 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.