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 2 of 2
  1. #1
    New Coder
    Join Date
    Jul 2011
    Posts
    52
    Thanks
    4
    Thanked 0 Times in 0 Posts

    Redirection to ?page=home

    Hello.
    I want to force users to be unable to move to: mysite.com and want to make the website accessable only via mysite.com/?page=home
    How I can do this?
    Tried htpaccess, but it flooded in unlimited loop.

    Thanks for help
    Need domain? Buy Cheap Domain at Rapid Host :)

  • #2
    New Coder
    Join Date
    Apr 2013
    Posts
    39
    Thanks
    2
    Thanked 2 Times in 2 Posts
    use php redirects to redirect the page like this

    if($_REQUEST['page']=="home"){

    homepage load

    }else{

    header("location: page.php");

    }


  •  

    Posting Permissions

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