sandywp / plugins / no-category-parents

No Category Parents

5.0 out of 5 stars. 5.0 3 reviews

Removes the mandatory 'Category Base' and every parent category from your category permalinks.

Launch a sandbox with this plugin → No signup.
Ready in seconds.

v0.3.1 6,000+ installs WP 6.0+ PHP 7.4+

your-sandbox.sandywp.com/wp-admin
No Category Parents running inside a SandyWP sandbox

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.

5.0

3 reviews

  • 5 ★ 3
  • 4 ★ 0
  • 3 ★ 0
  • 2 ★ 0
  • 1 ★ 0

Ratings come from WordPress.org. SandyWP does not collect its own reviews.

sandywp / also on the shelf

Try another plugin

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.