I'm trying to use a regular expression to redirect urls containing "/mytheme2.5.1/" to the same url only with "/mytheme/". Example...
http://www.example.com/wp-content/themes/mytheme2.5.1/thumb.php?src=wp-content/woo_uploads/68-Wine250.jpg&w=250&h=180&zc=1&q=90
should redirect to...
http://www.example.com/wp-content/themes/mytheme/thumb.php?src=wp-content/woo_uploads/68-Wine250.jpg&w=250&h=180&zc=1&q=90
I tried numerous things and I thought for sure I had it with...
/mytheme2.5.1/(.*) => /mytheme/$1
...but no luck. Any ideas?