説明
Choosing a new slug for every post, term, or language version is extra URL design work. Slug-Free Permalinks lets you move that work out of the publishing flow by using an item’s ID in the permalink instead.
Select the public post types and taxonomies you want to change, choose a URL format, and keep the rest of your site on its existing permalink structure. The plugin is intentionally focused: it changes URL structure without adding content features or front-end UI.
Why use ID-based permalinks?
- Reduce the number of slug decisions and maintenance steps as your content grows.
- Keep the URL pattern consistent even when titles, translations, or editorial wording change.
- Apply the change selectively instead of switching every post type at once.
次の形式から選べます:
/post/123//post-123/
このプラグインが影響するのは、設定画面で有効にした投稿タイプとタクソノミーだけです。
What you can configure:
- 公開投稿タイプを個別に選択
- 公開タクソノミーを個別に選択
- Use each selected type’s registered rewrite slug for the ID-based route
- 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
- 他のプラグインが追加する
/en/のような接頭辞付きパーマリンクベースを維持 - 設定変更時にリライトルールを自動フラッシュ
A focused, predictable change
Legacy slug redirects are optional and only run when WordPress can already resolve the request. Slug-Free Permalinks does not guess at every 404, so it avoids turning an ID-based permalink plugin into a site-wide slug lookup system.
The plugin is intended for new sites, structured-content sites, or projects that are still defining a permalink policy.
If your site already has many established slug-based URLs, review existing inbound links, search traffic, social shares, and editorial workflow assumptions before enabling it.
既知の制限事項:
- The settings screen rejects selected post types or taxonomies with identical registered rewrite slugs.
- Prefixed ID routes reserve the matching path shape, so language or path prefixes should not overlap existing page routes.
スクリーンショット

インストール
- In the WordPress admin screen, go to
Plugins > Add New. Slug-Free Permalinksを検索します。今すぐインストールをクリックし、その後プラグインを有効化します。設定 > Slug-Free Permalinksを開きます。- パーマリンク形式を選びます。
- Check the post types and taxonomies you want to convert to ID-based permalinks.
- 必要に応じて旧パーマリンクのリダイレクトを有効にします。
- 変更を保存します。
手動でインストールする場合は、プラグインフォルダーを/wp-content/plugins/にアップロードし、プラグイン画面から有効化してください。
FAQ
-
Does this change every post type automatically?
-
いいえ。設定画面でチェックした投稿タイプとタクソノミーだけが対象です。
-
Does it redirect every old slug URL?
-
No. Slug-Free Permalinks avoids aggressive 404 slug guessing.
Redirects only run when WordPress can already resolve the request.その結果、プラグインを軽量で予測しやすい状態に保てます。
-
Why not attempt slug lookups for every 404?
-
404のたびにスラッグを検索すると、不要なデータベースクエリが増えたり、挙動が予測しにくくなったりする可能性があります。
The plugin prioritizes performance and compatibility with WordPress routing.
-
Does it support pages?
-
No. Pages are intentionally excluded to avoid conflicts with typical WordPress page permalink structures.
-
Does it support taxonomies too?
-
Yes. Public taxonomies with UI support can be switched to the same ID-based format.
-
The settings screen rejects selected post types or taxonomies with identical registered rewrite slugs, keeping the ID-based routes unambiguous.
-
Does it work with Polylang or language-directory URLs such as `/en/`?
-
Yes. The canonical ID-based permalink stays rooted at the site home, and language-directory plugins can add their own prefix on top of that.
For example, the plugin keeps using
/post/123/as the base shape, while Polylang style setups can expose/en/post/123/and/en/category/45/.
評価
このプラグインにはレビューがありません。
貢献者と開発者
変更履歴
1.5.1
- Update compatibility metadata for WordPress 7.1
- Improve CI and distribution validation
1.5.0
- Use registered rewrite slugs for ID-based post type and taxonomy routes
- Reject conflicting selections that share a rewrite slug
- Improve rewrite-rule refresh after post type and taxonomy registration
1.4.8
- Avoid database writes when settings are normalized during public requests
For the complete release history, see the English changelog.