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.
software2.exe, not justsoftware2? – Shane Madden Jan 23 at 4:00