vic3685 Posted October 2, 2011 Share Posted October 2, 2011 I would love to google my question, but I don't know how this is called.... I want to create URLs for each user of a site with this format: www.mysite.com/user1 Facebook does this, for example. In a static page I'd do it with a folder and index file for each user, but that's not practical if you have too many users. Could you explain how this is done or at least how it is called so I can find myself something to read? Thanks!!! Link to comment https://forums.phpfreaks.com/topic/248285-question-about-urls/ Share on other sites More sharing options...
ansipants Posted October 2, 2011 Share Posted October 2, 2011 there are subdomain creation scripts out there for this that work with member signups. cPanel Subdomains Creator is one I believe, and its free. Link to comment https://forums.phpfreaks.com/topic/248285-question-about-urls/#findComment-1275036 Share on other sites More sharing options...
vic3685 Posted October 2, 2011 Author Share Posted October 2, 2011 I'm not sure I want subdomains. I mean... do you think Facebook has subdomains for every user page? I think there's got to be another way... Link to comment https://forums.phpfreaks.com/topic/248285-question-about-urls/#findComment-1275038 Share on other sites More sharing options...
ryanfilard Posted October 2, 2011 Share Posted October 2, 2011 use mod_rewrite Link to comment https://forums.phpfreaks.com/topic/248285-question-about-urls/#findComment-1275039 Share on other sites More sharing options...
vic3685 Posted October 2, 2011 Author Share Posted October 2, 2011 Thanks so much. Now I can google it :-D Link to comment https://forums.phpfreaks.com/topic/248285-question-about-urls/#findComment-1275042 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.