When I started with my blog, the permalinks and following structure:
http://<domain>/%year%/%monthnum%/%day%/%postname%/
Some time ago, I changed the permalink structure to "http://<domain>/%postname%/
" only.
In order to tackle the external links to the old permalink structure, I added the following line in my htaccess-file:
RedirectMatch 301 /([0-9]+)/([0-9]+)/([0-9]+)/(.*)$ http://<domain>/$4
Now the problem is that the redirect line breaks the archive links, eg. "http://<domain>/2010/09/02
" is redirected to the front page instead of showing the posts from Sept 2, 2010.
Is it possible to correct the redirect directive in htaccess, or am I not going to be able to eat the cake and have it too?