[WordPress] 外掛分享: Slug-Free Permalinks – Simple ID-Based URLs

首頁外掛目錄 › Slug-Free Permalinks – Simple ID-Based URLs
全新外掛
安裝啟用
尚無評分
20 天前
最後更新
問題解決
WordPress 5.8+ PHP 7.4+ v1.5.1 上架:2026-03-28

內容簡介

Slug-Free Permalinks 外掛透過使用項目的 ID 來簡化網址設計,讓使用者在發佈內容時不必每次都選擇新的 slug。此外掛專注於改變網址結構,並不增加其他內容功能或前端介面,適合需要簡化網址管理的網站。

【主要功能】
• 使用項目 ID 作為網址結構
• 支援選擇性變更公共文章類型和分類法
• 提供斜線或連字符的 ID 形式選擇
• 自動刷新重寫規則
• 選擇性重定向舊的 slug 網址

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.5.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Slug-Free Permalinks – Simple ID-Based URLs」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

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.

You can choose between:

/post/123/
/post-123/

The plugin only affects the post types and taxonomies you enable in the settings screen.
What you can configure:

Select individual public post types
Select individual public taxonomies
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
Preserve prefixed permalink bases such as /en/ when another plugin adds them
Flush rewrite rules automatically when settings change

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.

Plugin page (English)
Plugin page (Japanese)
Development repository

Known limitations:

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.

延伸相關外掛

文章
Filter
Mastodon