Current structure is /%year%/%monthnum%/%postname%.html
Desired structure is /%postname%/
Since we are already positioned with urls like domain.com/2015/04/example-post.html
, we want people to be redirected to domain.com/example-post/
.
I already tried installing some plugins, like Simple 301 Redirects, which looked good since it seems to work with rules as shown in the image below:
But it didn't worked to us, we get 404 from old urls :(
Adding 301 rules manually is not an options since we have thousands of posts, doing it with a script would be a easy option but I don't think is optimal to have thousands of 301 rules, would it be?
Any other suggestion?