Hi there,
I have a site called www.test.com.
Users can register to site in order to have their private area:
User 1 -> www.test.com/user_1/home
User 2 -> www.test.com/user_2/home
User 3 -> www.test.com/user_3/home
A nav menu (Home, Products, Contacts) located in the private area homepage allows the visitor to reach the subdirectories of the private area:
www.test.com/user_1/home
www.test.com/user_1/products
www.test.com/user_1/contacts
Now I would like to give every user the chance to link a domain to their private area on www.test.com.
Example, let's suppose that User 1 holds the domain "user1.com", I would like to redirect the www.user1.com to www.test.com/user_1/home, and I would like that the URL in address bar remains www.one.com.
Also, once reached the homepage of the private area, the visitors can browse the site, so if they click on Products button, I would like that the URL in the address gets change into: www.user1.com/products
So basically www.user1.com/products corresponds to www.test.com/user_1/products
I tried mod_rewrite but I get always a kind of loop that leads to an Internal Server Error.
Anyone can help me on this?
Thanks a lot in advance.
L.