.htaccess multiple rewrites

Discussion in 'Apache' started by sarkara, Feb 17, 2010.

  1. #1
    Ok guys i have a few questions so i'm going to start off one at a time. I'm a newbie when it comes to htaccess so please be paitent with me lol.

    Ok i have multiple urls that i want to rewrite but i don't want to have to write a rule for each page

    so i have

    RewriteRule ^index_old.html$ http://localhost/test/index_new.html

    for me this works fine but if i have multiple pages i'm stuck because i'm not sure how to start my regex. can anyone shed some light on this?
     
    sarkara, Feb 17, 2010 IP
  2. faceboox

    faceboox Peon

    Messages:
    3
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    my htaccess issue..forbidden

    how to solution..
     
    faceboox, Feb 17, 2010 IP
  3. Mystique

    Mystique Well-Known Member

    Messages:
    2,579
    Likes Received:
    94
    Best Answers:
    2
    Trophy Points:
    195
    #3
    Starting with posting your own thread rather than hijack this :rolleyes:
     
    Mystique, Feb 17, 2010 IP