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
    Mar 2007
    Posts
    91
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Htacces how Redirect 301, http://mysite.com/?staticpage to http://otherdomain.com

    Maybe this is simple enough

    I want to redirect static page http://mysite.com/?staticpage to http://otherdomain.com

    i had try some rule like below but still dont get the working rule, please help guys what is the right rule


    RewriteEngine On

    Redirect 301 /?staticpage http://otherdomain.com

    or using quotes around still not working


    RewriteEngine On

    Redirect 301 "/?staticpage" http://otherdomain.com
    Whats up

  • #2
    New Coder
    Join Date
    Aug 2007
    Posts
    57
    Thanks
    4
    Thanked 0 Times in 0 Posts
    Is it giving you any errors? What is happening when you try to access http://mysite.com/?staticpage ???

    Have you had a look in the log file of errors?


  •  

    Posting Permissions

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