I need this urgent, so paying anyone 5$ for converting the below mod_rewrite to the nginx rewrite version! # BEGIN Url Rewrite section # (Automatically generated. Do not edit this section) <IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^playlist.html playlist.php?type=mp3 RewriteRule ^lyrics/(.*)/(.*).html?$ lyrics.php?id=$1&name=$2 RewriteRule ^video/(.*)/(.*).html?$ video.php?id=$1&name=$2 RewriteRule ^artist/(.*).html?$ artist.php?letter=$1 RewriteRule ^download/(.*)/(.*).html?$ info.php?name=$2&url=$1 RewriteRule ^source/(.*)/(.*)/(.*)/(.*).html?$ info.php?source=$1&id1=$2&id2=$3&name=$4 RewriteRule ^search/(.*)/(.*)/(.*).html?$ index.php?search=$3&page=$2&type=$1 [L] # Use old link structure with new RewriteRule ^search/(.*)/(.*)/(.*)?$ index.php?search=$1&page=$2&type=$3 [L] </IfModule> # END Url Rewrite section Code (markup): Also where would I have to put the converetd version? Can anyone do this fast? I am loosing my traffic cause of this
Here it is for nginx rewrite ^/playlist.html /playlist.php?type=mp3 last; rewrite ^/lyrics/(.*)/(.*).html?$ /lyrics.php?id=$1&name=$2 last; rewrite ^/video/(.*)/(.*).html?$ /video.php?id=$1&name=$2 last; rewrite ^/artist/(.*).html?$ /artist.php?letter=$1 last; rewrite ^/download/(.*)/(.*).html?$ /info.php?name=$2&url=$1 last; rewrite ^/source/(.*)/(.*)/(.*)/(.*).html?$ /info.php?source=$1&id1=$2&id2=$3&name=$4 last; rewrite ^/search/(.*)/(.*)/(.*).html?$ /index.php?search=$3&page=$2&type=$1 last; # Use old link structure with new rewrite ^/search/(.*)/(.*)/(.*)?$ /index.php?search=$1&page=$2&type=$3 last; Code (markup): You can place them at the server section in your vhost config.