I'm migrating the content of a Wordpress blog to EE. The old blog has this URL structure:
And I need to redirect to this:
At the moment I am using this .htaccess redirect:
RedirectMatch 301 /news/([0-9]+)/([0-9]+)/([0-9]+)/(.*)$ /news/post/$4
But it's resulting in this URL:
This is not the end of the world, because I get the right results, despite the extra URL segments, but I'd really rather they went away.
FWIW, I'm using the EllisLab-approved redirect method for removing index.php.