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! 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" 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! 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. Link to comment https://forums.phpfreaks.com/topic/282742-user-folders-help/#findComment-1452766 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.