My ht access includes:
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{REQUEST_URI} ^/preview/(.*)\-[0-9]+$
RewriteRule ^/preview/(.*)\-[0-9]+$ /$1 [R=301,L]
but still when I try to access something such as:
http://sg.wyli.co.uk/preview/coronation-street-the-mystery-of-the-missing-hotpot-recipe-1806
it doesn't redirect (where http://sg.wyli.co.uk/coronation-street-the-mystery-of-the-missing-hotpot-recipe will work...)
im using a plugin: Wp htaccess Control to add the rule, so it's definitely being added to the wordpress rewrite rule system, but it's not having any effect?
are there any more wordpress quirks I need to avoid? Is there a basic error I'm missing?
/in your rules and a lineRewriteBase /afterRewriteEngine on. And why the condition? – Raphael Jan 20 '12 at 17:31