PHP Mod Rewrite Help

Discussion in 'PHP' started by SOULZRIPPER, Jan 15, 2009.

  1. #1
    SOULZRIPPER, Jan 15, 2009 IP
  2. artiskool

    artiskool Peon

    Messages:
    34
    Likes Received:
    3
    Best Answers:
    0
    Trophy Points:
    0
    #2
    By looking at your rewrite rule, it would redirect all the .html access page to index.php?lyric_id=whatever

    Try this one,

    RewriteRule ^([-A-Za-z0-9]+)/([0-9]+)([-A-Za-z0-9]+).html$ http://www.dailyrnblyrics.com/index.php/$2 [L]

    Though index.php would appears as part of the url.
     
    artiskool, Jan 15, 2009 IP