Redirect url

Discussion in 'Site & Server Administration' started by zaidis, Mar 19, 2009.

  1. #1
    i want to redirect my website's url (404) through htaccess and the url is
    http://www.smskp.com/index2.php?page=shop.browse&category_id=8&pop=1&tmpl=component
    Code (markup):
    .i m using the below code in htaccess but it's not working for me.
    
    redirect 301 index2.php?page=shop.browse&category_id=42&pop=1&tmpl=component http://www.smskp.com
    Code (markup):

     
    zaidis, Mar 19, 2009 IP
  2. stizzard

    stizzard Peon

    Messages:
    30
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    This might be a silly question but are you sure your .htaccess file is writable with "rewrite engine on"
     
    stizzard, Mar 20, 2009 IP