Jump to content

Help with User ID Site


dkeeper09

Recommended Posts

Not sure how to correctly create subject for this. Here is my situation:

 

I am creating an affiiate website for the company I work for. They want an affiliate to be able to sign up on their website, and based on the username that the affiliate gives us, auto-create an affiliate site on our site. So for example, if I signed up with the username bob, our site needs to be replicated at the url www.domain.com/bob

 

My initial reaction for this was to have the site just duplicate itself in a folder based on that username. However, I was later told that we are expecting thousands of people to sign up for this....meaning replicating the site each time isn't exactly ideal.

 

I know there is a way to basically create a url www.domain.cin/index.php?username=bob and have that show up to someone as www.domain.com/bob

 

I was told something about using .htaccess to manage this, but I have no idea where to begin or how to start with this. I currently have the affiliate username being written to a mysql database, so that isnt an issue if I need to store the variable. Any help on this is greatly appreciated. I hope I explained this well enough.

 

 

Thank you.

Link to comment
Share on other sites

  • 3 weeks later...
This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • 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.