sandywp / plugins / no-category-parents
No Category Parents
Removes the mandatory 'Category Base' and every parent category from your category permalinks.
Ready in seconds.
v0.3.1 6,000+ installs WP 6.0+ PHP 7.4+

About this plugin
This plugin completely removes the mandatory ‘Category Base’ and all the parents from your
category permalinks (e.g. /category/parent-category/my-category/ becomes /my-category/).
It also shortens post permalinks when you use the /%category%/ permastruct, so a post filed
under a deeply nested category still gets a short URL.
If a post or page already uses the same slug as a category, the post keeps the clean URL and
the category is served from /my-category-cat/ instead.
Questions
- My category URLs did not change
Go to Settings > Permalinks and press Save once. That rebuilds the rewrite rules.
- Do old links with the parent path still work?
Yes.
/parent-category/my-category/keeps resolving to the same archive.
sandywp / also on the shelf
Try another plugin
4.7 · 80K+ installs
Very customizable plugin to list posts by category (or tag, author and more) in a post, page or widget. Uses the [catlist]…
4.8 · 70K+ installs
Enhances the Media Library; powerful gallery and list shortcodes, full taxonomy support, IPTC/EXIF/XMP/PDF processing, bulk/quick…
Tag, Category, and Taxonomy Manager – Autotagger Automatically Add Terms
4.6 · 40K+ installs
Tags, Categories and WordPress terms are easy with TaxoPress. Add a Tag or Category to Pages, manage your WooCommerce Categories…
Spin up a real WordPress site in seconds.
Test plugins, build a demo, hand a client a link — then squash it and start again. No local setup, no Docker.