New To Mod_rewrite trying to write rule for dynamic url and learn more about it

Discussion in 'Apache' started by michiganfootball20, Oct 31, 2010.

  1. #1
    Ok so im new to the whole mod_rewrite thing and im trying to apply it to my pages at http://www.sparksheets.com/music.php?sheetid=$sheetid&title=$title&artist=$artist

    so yeah i got pages loading based on the variable sheetid and want the pages to load in the format:

    http://www.sparksheets.com/$artist/$titile/$sheetid/

    ive tried to read and figure it out myself but im kinda lost. can someone help me with this rule?

    also, if I write a rule like this will the pages still be able to load and properly interpret the variables? if not how do i do that?

    I appreciate your help!
     
    michiganfootball20, Oct 31, 2010 IP
  2. superwordpressthemes

    superwordpressthemes Peon

    Messages:
    39
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    superwordpressthemes, Nov 2, 2010 IP