Regex redirection issues

I am looking to change the permalinks on my site

basically I changed from the standard site-name/%postname%/ to site-name/%category%/%postname%/

This is the code I added to the .htacess file

RedirectMatch 301 ^/([^/]+)/$$1

I cleared cloudflare cache but it did not clear the problem so I reversed the permalink change and deleted the htaccess code

This is an example of a post that the old link cannot be accessed…

old URL

new URL

Any ideas?


This topic was automatically closed after 14 days. New replies are no longer allowed.