1

Will changing WP permalink custom structure affect old posts URL?

For example. I have a large group of posts that follow this custom structure: /blog/%category%/%postname%/

I want to change it to /blog/

Or better yet, be able to manually add structure after the root domain for every post.

So that I have the option to manually enter /%category%/%postname%/

I'm hoping that changing my permalink custom structure will only affect new posts going forward and old posts remain unchanged.

1
  • do you want to apply blog in every URL ? like category name in permalink ?
    – Noman
    Sep 4, 2015 at 19:45

2 Answers 2

1

Yes.

You may want to use a redirect plugin to setup redirect rules for your inactive urls.

1

Yes, absolutely. Upon clicking "Save" in the Permalinks page, a command is sent to the database to update the new URL structure.

It doesn't matter whether your URLs are active or inactive, if you change the permalink structure it is a "global" change and all single posts will follow that.

To give you a direct answer: All. New and Old URLs will be changed.

Your Answer

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