View Full Version : how to fix URL and redirect the page to other directory?

08-23-2006, 03:00 PM
Hi all,
I am facing a tough problem.
I want to keep the URL fix in the address bar and redirect the page to a different directory.how can i achieve this.
say for example-my URL is http://www.example.com ,I want to keep this fix
but I want ,if someone clicks on this URL he will see the page of some other directory like - http://www.example.com/home/ .
but in the address bar the URL will be shown as http://www.example.com

how can i achieve this.please help me to solve this problem.

Amit Chouhan,

08-25-2006, 01:04 PM
This cannot be done with PHP, you do this with your domain, i believe it is called domain masking.

08-25-2006, 01:07 PM
or you could just use an iFrame on your homepage