WP Better Permalinks


Set custom friendly permalinks structure: Custom Post Type > Taxonomy > Post and Custom Post Type > Taxonomy instead of default WordPress structure.

Default permalinks structure in WordPress:

  • Custom Post Type > Post
  • Taxonomy > Single Term

Friendly permalinks structure pattern available using this plugin:

  • Custom Post Type > Single Term (or Term tree) > Post
  • Custom Post Type > Post (when no term is selected)
  • Custom Post Type > Single Term (or Term tree)

The plugin allows you to set your own structure with a few clicks. Everything works automatically, no need to add any additional code.

New features: Auto update of post slug after changing title and automatic 301 redirects for old links! Thanks to this, your website will always have correct links and you will avoid 404 errors.


  • Screenshot of the options panel


  1. Upload the plugin files to /wp-content/plugins/wp-better-permalinks directory, or install plugin through the WordPress plugins screen directly.
  2. Activate plugin through Plugins screen in WordPress Admin Panel.
  3. Use Settings -> WP Better Permalinks screen to configure the plugin.


Is the plugin compatible with CPT UI plugin?

Yes of course. Please remember to leave the option Rewrite Hierarchical set to false on the Edit Taxonomies screen for your taxonomy.

When you have this option enabled, CPT UI plugin tries to generate a hierarchical link on its own – the same thing is done by this plugin. The result is duplicated categories in term link. The only solution is to change this value to false.

What happens if I choose more than one term?

If you choose multiple categories for one post only first selected category will be used in post permalink.

For what types of posts can I set permalinks strukture?

You can set for all Custom Post Types.

How do I register custom post type nad taxonomy to set up permalink structure for them?

You can use the WordPress features: register_post_type and register_taxonomy or use any plugin for this. It is important to set visibility as public in arguments.

Can I choose one taxonomy for several types?

Unfortunately not. This possibility is not available. You can assign taxonomy to only one Custom Post Type. However, you can use one taxonomy for several Custom Post Types.

What do I do if after disabling the plugin I have a problem with links?

Please go to Admin Panel -> Settings -> Permalinks and click Save Changes button.

Why permalinks strukture does not work after upgrading from version 2.X.X?

From version 3.0.0 the plugin uses a completely modified core. You need to save the settings again to run friendly permalinks strukture. Please go to Admin Panel -> Settings -> WP Better Permalinks.


October 25, 2019
Almost, because I want the redirect from the "native" taxanomy link to go not to the main page, but to the "resulting" link. But I’ll put 5 stars for the developer to continue working. Thanks so much for the plugin!
January 11, 2019
The simplest and the best solution to rewrite your custom post type permalinks with taxonomies.
December 3, 2018
After triying other plguins like this, this is the only one that can hide default custom-post-type-category and custom-post-type-tag when needed.
Read all 11 reviews

Contributors & Developers

“WP Better Permalinks” is open source software. The following people have contributed to this plugin.


Translate “WP Better Permalinks” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.



  • Support for WPML (Custom Post Types)


  • Fix for multiple domains


  • Fix for post type url generation


  • Support for post ancestors


  • Security changes
  • Fixes for UTF-8 characters in URLs


  • Removed support for future post type


  • Fix for assets loading


  • Possibility of manually editing post slug
  • Possibility of permanent turn off admin notice
  • Default hidden admin notice


  • Support for Yoast SEO plugin (Primary category)


  • Support for Yoast SEO plugin (Primary category)


  • Automatic update of post slug
  • 301 redirects for old links
  • Support for internationalization
  • Changes in plugin structure
  • Minor fixes


  • Improved rewrite rules


  • Cleaning old rewrite rules after saving settings


  • Support for future post type


  • Fix for error 404 on pagination pages


  • Cleaning database after removing plugin


  • Change of settings saving method


  • New plugin core
  • Support for category hierarchy in permalinks
  • Support for Polylang plugin
  • Improved performance and reliability


  • Modification of admin notice


  • The first stable release