Jump to content

phamenoth

New Members
  • Posts

    1
  • Joined

  • Last visited

    Never

Profile Information

  • Gender
    Not Telling

phamenoth's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. Hi folks, I'd like to give a user who registers on my site a custom URL. This would not be a physical folder, but rather a subdomain that points to a different page. Think of a myspace URL, as an example. So, upon registering I'd dumb down the username in case there are any non alphanumeric characters, and save it in the db as a field. I'd then use savedusername.website.com for the redirect. I have (basic) experience using mod_rewrite, but I'm not sure if that's the best solution. I'm wondering if anyone has created something like this, and knows: 1. Is mod_rewrite the best way to go? If so, would I really have to have thousands of lines, each line for a different username and their URL? 2. Is there a better PHP/DB way to go that doesn't involve creating a linking file that has thousands of redirect lines in it? Thanks
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.