permalink-helper for redirects appends .html to post name
-
Hi, I am trying to use your permalink helper having discovered I have over 100 mis-directed old permalinks. (woops!!!!)
I moved from month and name to /%postname%/
However having put the settings into the permalink-helper it generated this
RedirectMatch 301 ^/([0-9]{4})/([0-9]{2})/(?!page/)(.+)$ https://www.mywebsite.co.uk/$3
The problem is that the new permalinks now all end .html/ whereas the actual post name does not contain .html.
So I end up with https://www.mysite.co.uk/actual-post-name.html/ instead of https://www.mysite.co.uk/actual-post-name/
Is there a way to hack this redirect so that the .html is missing?
Many thanks
Phil
The page I need help with: [log in to see the link]
- The topic ‘permalink-helper for redirects appends .html to post name’ is closed to new replies.