plugin-icon

Slug-Free Permalinks

投稿者: Kodo·
Use ID based permalinks for selected post types and taxonomies without managing slugs.
バージョン
1.4.5
最終更新日時
Mar 29, 2026

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.
無料有料プラン
インストールすることで、WordPress.com の利用規約サードパーティプラグイン利用規約に同意したことになります。
最大テスト回数
WordPress 6.9.4
このプラグインをダウンロードして、 サイトに使用できます。