ErrorDocument 404 /index.html
<IfModule mod_rewrite.c>
Options +FollowSymLinks
RewriteEngine On

RewriteCond %{HTTP_HOST} ^mp3venture\.net/demo$ [NC]
RewriteRule ^(.*) http://www.mp3venture.net/demo$1 [L,R=301]

RewriteCond %{REQUEST_URI} index.php$
RewriteCond %{QUERY_STRING} ^search=([A-Za-z0-9\+]+)$
RewriteRule ^(.*)$ /mp3-%1.html? [R=301,L]
RewriteRule ^mp3-([^+]+)\+([^.]+)\.html$ /mp3-$1-$2.html [R=301,L]
RewriteRule ^mp3-(.*).html$ index.php?search=$1&a=1 [L]
RewriteRule ^mp3-([a-zA-Z0-9_-]+)-([^-]*)\.htm$ /index.php?search=$1&page=$2 [L]
</IfModule>


