For example:
I have 2 domains host in one account, main domain http://www.one.com and addon domain http://www.two.com. I cre8 one folder call "two" and a subdomain ( two.one.com) for http://www.two.com. So when I login to http://www.two.com or two.one.com , the server will redirect me to http://www.one.com/two/ and address bar of the web browser show "www.one.com/two/" too.
1. Now my question is can I use php code to hide "www.one.com/two" and display "www.two.com" on the address bar?
2. My main page put in abc folder so the address bar will display "www.one.com/abc/", can I use php code to make it become "www.one.com"?
Thank You
Addon Domain Question, hope php code can help.
Moderator: General Moderators
- RobertGonzalez
- Site Administrator
- Posts: 14293
- Joined: Tue Sep 09, 2003 6:04 pm
- Location: Fremont, CA, USA