We have multiple old URLs such as:
blog/index.php?d=26&m=12&y=11
blog/index.php?m=03&y=12&d=22&entry=entry120322-135153
blog/index.php?m=06&y=12&d=&entry=entry120602-191105
blog/index.php?d=19&m=02&y=12
The logic is always ?d, ?m, or ?y after the index.php.
I need to redirect these all to:
www.domain.com/blog
I've tried several different methods from here, but seem to be getting the logic mixed.
Addendum
Following the TerryE suggestion, when I type in the link
http://www.coreyogaasia.com/blog/index.php?m=12&y=11&d=26&entry=entry111226-110412
in my browser, it resolves to
http://www.coreyogaasia.com/blog/?m=12&y=11&d=26&entry=entry111226-110412
(the index.php is removed). However, it is not going to
http://www.coreyogaasia.com/blog
I am also putting it above the wordpress one:
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>