Forum Moderators: phranque

Message Too Old, No Replies

Mod rewrite and Subdomains and trailling parameters

convert john.mysite.com/friends to mysite.com/index.php?user=john&page=fri

         

tutunmayan

3:10 pm on May 19, 2007 (gmt 0)

10+ Year Member



Hi everybody,
I used to thougth i am confortable with mod-rewrite until subdomains get into.

Here is the problem:

i want to convert [john.mysite.com...]
to [mysite.com...]

users are dynamicaly created (john is interchangeable with any string)

I think it is not that hard.
Thank you for your help

jdMorgan

2:56 pm on May 20, 2007 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



This thread, Changing Dynamic URLs to Static URLs [webmasterworld.com], should give you a good start.

Jim