pootsey Posted October 24, 2006 Share Posted October 24, 2006 hello,I have the following code for mod_rewrite [code]RewriteEngine onRewriteRule ^([0-9]+)$ index.php?id=$1 [L][/code]and I was wondering if its possible to make it into subdomains?IE - 6372.mysite.com rather then the mod_rewrite version mysite.com/6372thanks alot :)- pootsey Quote Link to comment Share on other sites More sharing options...
wildteen88 Posted October 25, 2006 Share Posted October 25, 2006 Not possible I'm afraid AFAIK to make subdirectories with mod_rewrite. As first you need to set-up the subdirectory. Then you can use mod_rewrite to redirect the user top the subdirectory. 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.