Changed permalink structure. Need help to redirect old urls
-
I just changed the urls structure of my site and want old urls to be forward to the new without the use of redirection plugin.
Old structure: /%category%/%year%/%day%/%postname%/
New: /%postname%/
Can anyone you tell me the regix code for the redirect than I can insert in the .htaccess file? Thanks.
P.S. I tried yoast code regenerator and and it redirected the old urls to the new urls without the end trailing slash and then redirected again with the trailing slash. So, it generated 2 redirect chains instead of one.
Viewing 14 replies - 1 through 14 (of 14 total)
Viewing 14 replies - 1 through 14 (of 14 total)
- The topic ‘Changed permalink structure. Need help to redirect old urls’ is closed to new replies.