Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Jul 2006
    Location
    India
    Posts
    18
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Question how to fix URL and redirect the page to other directory?

    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.

    regards,
    Amit Chouhan,
    amitchouhanji@gmail.com

  • #2
    New to the CF scene
    Join Date
    Aug 2006
    Posts
    5
    Thanks
    0
    Thanked 0 Times in 0 Posts
    This cannot be done with PHP, you do this with your domain, i believe it is called domain masking.

  • #3
    Regular Coder
    Join Date
    May 2006
    Location
    Wales
    Posts
    820
    Thanks
    1
    Thanked 82 Times in 79 Posts
    or you could just use an iFrame on your homepage


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •