Can I change the Post Type Slug?

Estimated reading: 1 minute

You cant change the Post Type slug, but with the help of CubeWP Framework, you can Rewrite the Post Type slug.

  • Login to your WordPress dashboard and navigate to CubeWP > Post Types.
  • Edit the Post Type you want to edit from the list of available post types.
  • Scroll Down and you can see the Rewrite Feature.
  • Select False to True
  • Enter your Slug name here
image
  • Click on the “Save” button to apply the changes.
  • Finally, don’t forget to flush the permalink cache by going to Settings > Permalinks and clicking on the “Save Changes” button.
  • The slug will only change on the front end, You may see the old slug in the page editor or post editor