5

WP Simple Download Monitor File Download URL Redirect issues

view full story
linux-howto

http://serverfault.com – In .htaccess file: <IfModule mod_rewrite.c> RewriteEngine On RewriteCond %{QUERY_STRING} =sdmon=software_download/software1.exe RewriteRule ^index.php$ http://download.domain.com/software1.exe? [L,R=301] RewriteCond %{QUERY_STRING} =sdmon=software_download/software2.exe RewriteRule ^index.php$ http://download.domain.com/software2.exe? [L,R=301] </IfModule> These rules redirect http:www.domain.com/index.php?sdmon=software_download/software1.exe to http:www.domain.com/software1.exe .... My question is : How to combine the 2 sets of rules into a single one. (HowTos)