Viewing 2 replies - 1 through 2 (of 2 total)
  • In the code that registers the custom post type, there is a parameter for the rewrite rule for that custom post type.
    I think you just need to change it there and flush the rewrite rules so they regenerate.
    If you have links to other posts in your content, you will have to change those to the new link. I use a plugin called Search Regex for that.

    Thread Starter bilal43

    (@bilal43)

    Thanks Joy! I have done it…

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘re write rule with custom posts’ is closed to new replies.