# BEGIN WordPress RewriteEngine On RewriteBase / RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f RewriteRule ^([^,]*)/download/([^\.,]*)\.html$ /download.php?f=$2&id=$1 [L] RewriteCond %{DOCUMENT_ROOT}%{REQUEST_URI} !-f RewriteRule ^torrent/([^\.,]*)\.html$ /search.php?s=$1 [L] # END WordPress DirectoryIndex index.html