0

I changed my posts permalinks from /%category%/%postname%/ to /%postname%/. Now all my old URLs are not working and I want to redirect them to new structure.

How can I do that? I use nginx

1 Answer 1

0

Turns out the process is simple.

First, reset the permalinks to the old permalinks.

Then, using the RankMath plugin, from general settings --> Auto post redirect, activate this option and make it on.

Then, change the permalinks structure to the one you desire, and the plugin will automatically do it for you!

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.