Posts: 5
Name: Alex Baker
Location: Manchester, England
|
Hi,
Can somebody help me with this please:
I'm creating a site where users register and get a subdomain.. but I don't want the subdomains to physically exist - I want to use htaccess to... ahhh I'll demonstrate:
I want http://user1.domain.com/anything.php to go to http://www.domain.com/anything.php?user=user1
http://user2.domain.com/anything.php ==> http://www.domain.com/anything.php?user=user2
etc etc
I do *NOT* want the page to redirect.. I want user.domain.com/anything to display in the address bar but use the other file.
Thanks in advance.
-Alex
|