phorcon3 Posted May 30, 2008 Share Posted May 30, 2008 so, i got it that the url would link to: www.domain.com/username RewriteRule ^([a-z0-9_A-Z]+)/$ p.php?user=$1 [L] php: <?php echo $_GET['user']; ?> but i want it to be: username.domain.com how can i do this? Quote Link to comment Share on other sites More sharing options...
runnerjp Posted May 31, 2008 Share Posted May 31, 2008 just swap it around Quote Link to comment Share on other sites More sharing options...
marcus Posted May 31, 2008 Share Posted May 31, 2008 http://www.webmasterworld.com/forum92/5439.htm that topic has shows a good demonstration Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.