why doesn’t my rewrite rule work? (is there something weird with wordpress htaccess?)
Sooo the problem was my brackets around the content in the condition I think. I’m still not so hot on these things, but I use these rules and they work: RewriteCond %{REQUEST_URI} ^/(review|preview|feature).*\-[0-9]+$ RewriteRule ^review/(.*)\-[0-9]+$ /$1 [R=301,L] RewriteRule ^preview/(.*)\-[0-9]+$ /$1 [R=301,L] RewriteRule ^feature/(.*)\-[0-9]+$ /$1 [R=301,L] note: the (review|preview|feature) but is an x OR y OR … Read more