Another Redirect issue... Please gimme a clue!

Discussion in 'Apache' started by shenron, May 26, 2007.

  1. #1
    I'm trying to redirect this URL:

    w_ww.whatever.com/tag/?keyword=shenron

    to

    w_ww.google.com

    (the names and domains are not important)

    I've tried with: (htaccess)

    redirect 301 /tag/?keyword=shenron http://w_ww.google.com

    and with

    redirect 301 /tag/\?keyword=shenron http://w_ww.google.com

    and with

    redirect 301 /tag\?keyword=shenron http://w_ww.google.com

    none seems to work :(

    Can you give me a hand?

    I can give full real details by PM if you need to test something or see my current htaccess.
     
    shenron, May 26, 2007 IP
  2. gibex

    gibex Active Member

    Messages:
    1,060
    Likes Received:
    21
    Best Answers:
    0
    Trophy Points:
    95
    #2
    gibex, May 27, 2007 IP
  3. rodney88

    rodney88 Guest

    Messages:
    480
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    0
    #3
    whatever.com/.htaccess
    Options +FollowSymLinks
    RewriteEngine On
    RewriteBase /
    RewriteCond %{QUERY_STRING} keyword=shenron
    RewriteRule ^tag/ http://www.google.com/ [R,L]
    Code (markup):
     
    rodney88, May 27, 2007 IP