I need help with mod rewrite, rewriting is working fine but i would like the http address to stay the rewrited one and not the original one. Ex) http://www.dailyrnblyrics.com/Ne-Yo/494374-I-Love-You.html Redirects to http://www.dailyrnblyrics.com/index.php?lyric_id=494374 I want it to stay the first link the whole time, Here is my rewrite rule, RewriteRule ^([-A-Za-z0-9]+)/([0-9]+)([-A-Za-z0-9]+).html$ http://www.dailyrnblyrics.com/index.php?lyric_id=$2 [L] Thanks
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.