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
    Regular Coder
    Join Date
    Oct 2002
    Posts
    299
    Thanks
    0
    Thanked 0 Times in 0 Posts

    htaccess 301 redirect with arguments in Url

    Hi,

    I like to redirect some not existing url's using redirect in htaccess, like:

    redirect 301 /index.shtml?red http://www.domain.com/?widget=red

    expl.
    redirect 301 = permanent redirect
    /index.shtml?red = is old url part of (http://www.domain.com/index.shtml?red)
    http://www.domain.com/?widget=red = new location

    But it doesn't work! is it because of arguments not allowed?

    Thanks,
    Jerome

  • #2
    Regular Coder
    Join Date
    Oct 2002
    Posts
    299
    Thanks
    0
    Thanked 0 Times in 0 Posts
    This is not going to work, I am going to use mod rewrite

    Thanks,
    Jerome


  •  

    Posting Permissions

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