Help rewriting query string to root.

Discussion in 'Apache' started by Dave Hybrid, Mar 14, 2010.

  1. #1
    I have found google indexing some of my pages but with a query string on the end.

    Eg; url.com/?hl=t

    How can i redirect via htaccess any url containing ?hl=t to my root.

    Thanks.
     
    Last edited: Mar 14, 2010
    Dave Hybrid, Mar 14, 2010 IP
  2. vinoth.t

    vinoth.t Peon

    Messages:
    156
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Use 301 redirection using .htaccess
     
    vinoth.t, Mar 16, 2010 IP
  3. Dave Hybrid

    Dave Hybrid Active Member

    Messages:
    997
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    83
    #3
    I think it's fairly obvious thats what I want, its what to put in there that i get stuck on. lol
     
    Dave Hybrid, Mar 16, 2010 IP