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.
Please also read the FAQ below. Thank you for being with us!
- Upload the plugin files to
/wp-content/plugins/wp-better-permalinksdirectory, or install plugin through the WordPress plugins screen directly.
- Activate plugin through
Pluginsscreen in WordPress Admin Panel.
Settings -> WP Better Permalinksscreen to configure the plugin.
How does the plugin work?
To start with, you should add Custom Post Types and Taxonomies assigned to them. Without this, the plugin will not work because it creates a friendly link structure of Custom Post Type and Taxonomy.
Then on the plugin settings page you can choose Taxonomy for each Custom Post Type that will be preferred for building URLs.
You can create your own Custom Post Types and Taxonomies using the built-in functions in WordPres or additional plugins.
Finally, just save the plugin settings and the new structure for links will work.
Does the plugin modify Custom Post Type and Taxonomy settings?
Yes. Minor corrections are made to allow the plugin to work properly.
In the case of Custom Post Type, the value of
hierarchicalis set to
false. If set to
true, the parent post servant is displayed in the link. The child post may have a different category, which would cause URL mismatch.
For Taxonomy, set the
hierarchicalvalue in the
rewritesection for hierarchical terms. Thanks to this, we keep the tree structure, which is very important.
Can I choose one Taxonomy for several Custom Post Types?
Unfortunately not. This possibility is not available. You can assign Taxonomy to only one Custom Post Type.
Adding one Taxonomy to many Custom Post Types settings will not be saved.
Links are created according to the structure:
* 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)
If you choose more than one category for a post, the first one is always taken.
Is the plugin completely free?
Yes. The plugin is completely free.
However, working on plugins and technical support requires many hours of work. If you want to appreciate it, you can provide us a coffee. Thanks everyone!
Thank you for all the ratings and reviews.
If you are satisfied with this plugin, please recommend it to your friends. Every new person using our plugin is valuable to us.
This is all very important to us and allows us to do even better things for you!
Contributors & Developers
“WP Better Permalinks” is open source software. The following people have contributed to this plugin.Contributors
[Fixed]Closing notice in admin panel
[Fixed]Generating Rewrite Rules for WPML
[Fixed]Error 404 on Taxonomy Page
[Fixed]Generating Rewrite Rules after saving settings
[Removed]Withdrawal of support for 301 redirects (since version 3.0.0)
[Changed]New settings page
[Changed]New admin notice
[Added]Support for WPML (for Custom Post Types)
[Fixed]Support for multiple domains
[Fixed]Generation URL for Post Type
[Added]Support for Post Ancestors
[Fixed]UTF-8 characters in URLs
[Fixed]Loading of assets
[Added]Possibility of manually editing post slug
[Added]Possibility of permanent turn off admin notice
[Added]Default hidden admin notice
[Added]Support for Yoast SEO plugin (Primary category)
[Changed]Changes in plugin structure
[Added]Automatic update of post slug
[Added]301 redirects for old links
[Added]Support for internationalization
[Changed]Improved rewrite rules
[Added]Cleaning old rewrite rules after saving settings
[Fixed]Error 404 on pagination pages
[Added]Cleaning database after removing plugin
[Changed]Method of saving settings
[Changed]New plugin core
[Changed]Improved performance and reliability
[Added]Support for category hierarchy in permalinks
[Added]Support for Polylang plugin
- The first stable release