Hi,
I’ve been using mod_rewrite for a few months now, but am by no means an expert. Everything in my .htaccess file works except this line:
RewriteRule ^foo\.php\?param1=1955¶m2=5¶m3=25¶m4=%25¶m5=%25¶m6=¶m7=500¶m8=Search¶m9=basic¶m10=1¶m11=1 http://www.mydomain.com/foo [R=301,L]
Even if I strip the file down to just that line to eliminate conflicts and then add this line to make sure rewrites actually work:
RewriteRule ^foo2\.php http://www.mydomain.com/foo2/ [R=301,L]
the 2nd line works as expected, but the 1st still doesn’t.
I should note that I can’t really use a pattern for the first line because there will be dozens of similar urls in various formats that I’ll need to rewrite to its own different url. In any case, I can’t figure out why the first line doesn’t work. Any ideas?
Thanks