1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

.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:
    63
    Likes Received:
    0
    Trophy Points:
    0
    think you are in teh wrong section
     

Share This Page