Mode rewrite help for the redirection!

Discussion in 'Apache' started by Marko, Mar 22, 2008.

  1. #1
    Marko, Mar 22, 2008 IP
  2. SSANZ

    SSANZ Peon

    Messages:
    861
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    0
    #2
    SSANZ, Mar 26, 2008 IP
  3. Marko

    Marko Peon

    Messages:
    248
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Tnx for the answer but this link doesn't have a code for my problem.
     
    Marko, Mar 26, 2008 IP
  4. monfis

    monfis Well-Known Member

    Messages:
    1,476
    Likes Received:
    31
    Best Answers:
    0
    Trophy Points:
    160
    #4
    I am not an expert for htaccess, but you could try this (with your own correct values of course)

    Rewrite engine on

    RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /488/product\.php\ HTTP/
    RewriteRule ^index\.php$ http://www.example.com/448/Product-Name.html[R=301,L]
     
    monfis, Mar 26, 2008 IP
  5. Marko

    Marko Peon

    Messages:
    248
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    0
    #5
    Tnx but i couldn't solve my problem with your code
     
    Marko, Mar 26, 2008 IP