Hello, I have been looking all over the internet to try to figure this out but havent found any good information on it. I am building a website which allows user registration. I want each user to have their own homepage sort of. So i want: http://username.mydomain.com to point to http://www.mydomain.com?homepage.php?id=username I know that .htaccess is involved. I dont want to have to create each domain manually in cPanel - it should happen dynamically. When someone goes to http://username.mydomain.com that address must remain in the address bar. How can I do this? Thanks
How I did it. In place of the last line, you want something along the lines of: RewriteRule . homepage.php?id=%2 [L]