[htaccess] Need a little help: "folder/?code1=code2" to "folder/code1/code2"

Discussion in 'Apache' started by lorocreative, Mar 22, 2009.

  1. #1
    lorocreative, Mar 22, 2009 IP
  2. xd2

    xd2 Peon

    Messages:
    694
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #2
    RewriteEngine on
    RewriteBase /
    
    RewriteRule ^subfolder/(.*)/(.*)/$  /subfolder/?$1=$2 [L]
    RewriteRule ^subfolder/(.*)/(.*)$  /subfolder/?$1=$2 [L]
    
    Code (markup):
     
    xd2, Mar 22, 2009 IP
  3. lorocreative

    lorocreative Active Member

    Messages:
    647
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    60
    #3
    Thanks. But, somewhat this is not working for me? hmm!
     
    lorocreative, Mar 24, 2009 IP
  4. xd2

    xd2 Peon

    Messages:
    694
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You might need to add

    Options +FollowSymlinks
    Code (markup):
    To the start of your .htaccess file.
     
    xd2, Mar 24, 2009 IP