Slug-Free Permalinks
·
Use ID based permalinks for selected post types and taxonomies without managing slugs.
Slug-Free Permalinks lets you switch selected post types and taxonomies to simple ID based permalink formats.
You can choose between:
/post/123//post-123/
The plugin only affects the post types and taxonomies you enable in the settings screen.
Features:
- Select individual public post types
- Select individual public taxonomies
- Choose slash or hyphen based ID permalink format
- Optionally redirect legacy slug URLs to the current ID based permalink when WordPress can resolve the request
- Preserve prefixed permalink bases such as
/en/when another plugin adds them - Flush rewrite rules automatically when settings change
This plugin is focused on permalink structure only. It does not add content features or front-end UI.
Development repository: https://github.com/1008k/slug-free-permalinks
The dist/ directory is treated as local build output and is not tracked in Git. Build the distributable plugin locally before running Plugin Check, creating release ZIPs, or deploying.
Known limitations:
- If a post type slug and taxonomy slug are identical, their ID based rewrite patterns can conflict.