Rewrite rule for .htaccess, trying to wrap my head around it...

Discussion in 'Apache' started by tanvir6390, Dec 6, 2010.

  1. #1
    tanvir6390, Dec 6, 2010 IP
  2. tanvir6390

    tanvir6390 Peon

    Messages:
    80
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    ok i figured it out!


    RewriteRule ^(.*)product1.html(.*)$ http://www.site.com/product1.html$2? [L]

    thanks for your help anyways guys!
     
    tanvir6390, Dec 6, 2010 IP