WP Category Permalink
WP Category Permalink
Description
This plugin allows you to select a main category (or taxonomy) for your posts for nicer permalinks and SEO.
What it does?
A custom structure such as /%category%/%postname%/ should be usually chosen for your permalinks. By default, this %category% is selected automatically (using the lowest ID) in the case your post is assigned to more than one category. This plugin will let you pick the category of your choice from the ‘Post Edit’ page. The chosen category is shown in bold on the ‘Posts List’ page and the ‘Post Edit’ page.
Posts List
Below the title, you will see the permalink currently set-up for this entry. If a heart is present, it means that the category (or taxonomy) has been picked up.
Breadcrumbs
They have their own way of working and can’t be supported automatically by default because they are created by specific themes or plugins. If you encounter issues with breadcrumbs, please say so in the Support Threads and let’s see how we can make it work.
Compatibility
It works with any theme or plugin that creates post types and taxonomies but it looks like it doesn’t work with the plugin called “Types”. You can use “Custom Post Type UI” instead.
Please contribute
It works for standard setups, but the plugin might be modified depending on the case. Don’t hesitate to participate in making this plugin better. The official git for this project is here: https://github.com/jordymeow/wp-category-permalink. Thanks to those contributors:
- David Remer (https://github.com/websupporter)
Languages: English.
Installation
- Upload
wp-category-permalink.phpto the/wp-content/plugins/directory - Activate the plugin through the ‘Plugins’ menu in WordPress
Screenshots
Faq
How to get the chosen category using PHP?
Have a look at this thread: https://wordpress.org/support/topic/get-primary-category/#post-9055471
Reviews
Not working at the Moment
By titusraj on November 24, 2019
It's great and it works with 5.2.2
By r0by on August 2, 2019
Perfect replacement for WP gallery custom links
By (drtortoise) on February 4, 2019
Great plugin
By gezginorman on August 21, 2018
Works great
By bramchi on May 17, 2018
This Plugin Is Awesome
By barglobeworld on March 5, 2017
Stopped working for Woocommerce
By isaakgeo on September 3, 2016
Is the free version of the plugin no longer work for Woocommerce?
Good App and great support
By jackdcornwall on September 3, 2016
Couldn't get the app to work, posted a question on wordpress.org and the dev helped me sort it out the next day! highly reccomend the plugin works no problem,
Perfect
By elliotmuir on September 3, 2016
Works great. Thank you!
Does the job
By dynexd on September 3, 2016
Doe the job as advertised, i would have prefered more advanced permalinks settings.
Changelog
3.4.0
- Compatibility with PHP 7.2 by removing create_function calls. Thanks to David (https://github.com/jordymeow/wp-category-permalink/pull/3#issuecomment-443597831).
3.3.0
- Everything is released for free.
3.2.8
- Fix: WP 4.9.
3.2.7
- Fix: Name instead of Query Var.
3.2.6
- Fix: Avoid double trailing slashes.
3.2.4
- Fix: Trailing slashes.
3.2.3
- Fix: Display issues (heart icon was flying all over the place).
- Fix: Permalinks are handled in a much better way. More support for other plugins for custom permalinks.
3.2.2
- Fix: Handle events on the label instead of the li. Inject the link into the label too.
- Update: Additional error handling.
3.0.4
- Update: Enhance the way the post meta is handled.
- Fix: Now newly created categories can be selected.
- Fix: Pro version validation.
3.0.3
- Fix: The permalink below the title was showing a warning even though the category has been picked with a previous version of the plugin.
- Fix: The categories were not bold nor red on the Posts list. With Pro, that also works with WooCommerce well 🙂
- Fix: Issue from the past. If you can’t seem to save your columns, you might need to run the query “DELETE FROM
wp_usermetaWHEREmeta_keyLIKE ‘%wp_manageedit%'” on your DB, just once, to repair the View Screen options.
3.0.2
- Fix: Issue with multisite (with the includes).
- Add: Permalink shown below the title of the posts list (can be disabled in the option). Heart means a category has been picked, otherwise a little red warning is shown.
- Update: A lot of coding & UI improvements.
2.2.8
- Fix: Infinite hidden columns to user meta (https://wordpress.org/support/topic/infinite-user-meta).
2.0
- Fix: Update issue for non-WooCommerce user.
- Change: Let’s make it 2.0 since it’s a major change.
1.0
- Stable release.
0.1.4
- Add: default category will be shown in red if no category was picked.

