Full ruleset is here (if this helps):
RewriteEngine on
RewriteCond %{HTTP_HOST} !^(www\.domain_OLD\.com)?$
RewriteRule .* [
domain.com...] [R=301,L]
RewriteCond %{HTTP_HOST} !^www.domain.com
RewriteRule ^(.*)$ [
domain.com...] [R=permanent,L]
#redirect 301 /blog /blog/
RewriteCond %{REQUEST_URI} !\.
RewriteCond %{REQUEST_URI} !//
RewriteRule ^blog$ /blog/ [L,R=301]
# page specific rss rules
RewriteRule ^flex-([a-z0-9-_:]+)-rss.xml$ rss.php?type=flex-page&id=$1 [L]
RewriteRule ^blog-([a-z0-9-_:]+)-rss.xml$ rss.php?type=blog-page&id=$1 [L]
RewriteRule ^products-([a-z0-9-_:]+)-rss.xml$ rss.php?type=product-category-page&id=$1 [L]
RewriteRule ^product-([a-z0-9-_:]+)-rss.xml$ rss.php?type=product-page&id=$1 [L]
# collection rss rules
RewriteRule ^rss.xml$ rss.php?type=flex [L]
RewriteRule ^product-rss.xml$ rss.php?type=product [L]
RewriteRule ^blog-rss.xml$ rss.php?type=blog [L]
RewriteRule ^all-rss.xml$ rss.php?type=all [L]
RewriteCond %{REQUEST_URI} !\.
RewriteCond %{REQUEST_URI} !//
RewriteRule ^blog/archive-([0-9-]+) blog.php?m=$1&id=7 [L,QSA]
RewriteCond %{REQUEST_URI} !\.
RewriteCond %{REQUEST_URI} !//
RewriteRule ^blog/([0-9]+) blog.php?page=$1&id=7 [L,QSA]
RewriteCond %{REQUEST_URI} !\.
RewriteCond %{REQUEST_URI} !//
RewriteRule ^blog blog.php?id=7 [L,QSA]
RewriteCond %{REQUEST_URI} !\.
RewriteCond %{REQUEST_URI} !//
RewriteRule ^tag/([a-z0-9-]+) tag.php?t=$1 [L,QSA]
RewriteCond %{REQUEST_URI} !\.
RewriteCond %{REQUEST_URI} !//
RewriteRule (.*)/(.*)/(.*)/(.*) $1.php?id=$3&page=$4&name=$2 [L,QSA]