301 variable URL redirect

I’m unable to do a 301 redirect rule for a website i’m redoing. This is what the redirection must do


The 49- depends on post, meaning is different in all posts, but always 2 numbers and
So 2 directories now disapear, also 3 first characters of the page name and the final slash.

Any ideas to accomplish that without doing all redirects by hand?

Thank you

Source: apache

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.