.htaccess 301 redirection problem

Discussion in 'Internet Marketing' started by Irfan, Oct 10, 2007.

  1. Irfan

    Irfan New Member

    Joined:
    Oct 10, 2007
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    I want to 301 redirect with .htaccess. i used following code.

    RewriteEngine On
    RewriteRule ^main/index.php?Action=ABC.XYZ /newfolder/main/index.php?Action=ABC.MNQ [R=301,L]

    RewriteRule ^oldfolder/ /abc/newfolder/ [R=301,L]


    the 2nd redirection is working fine. but first one not working.
     
  2. rapwaydown

    rapwaydown New Member

    Joined:
    Nov 28, 2007
    Messages:
    62
    Likes Received:
    0
    Trophy Points:
    0
    think you are in teh wrong section
     

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice