這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Strict Permalinks

外掛說明

Strict Permalinks does two things:

  1. Restricts the post_name portion of the permalink to alphanumerics and hyphens
  2. Disables permalink editing once a post is published

Like me, you may have been under the impression that post slugs are already restricted to alphanumerics and hyphens. In the current WordPress 2.8.5, a title that includes certain kinds of punctuation (e.g., “smartquotes”) will result in URL-encoded characters in the post_name field. Many browsers handle this oddity seamlessly, however this may cause difficulties when integrating with systems expecting a more limited URL syntax.

Upgrade

  1. Use the plugin updater in WordPress or…
  2. Delete the previous strict-permalinks folder from the /wp-content/plugins/ directory
  3. Upload the new strict-permalinks folder to the /wp-content/plugins/ directory

Usage

  1. In all cases the post_title to post_name conversion (i.e., the sanitize_title filter) will be limited to a-z, 0-9 and hyphens (-).
  2. If a post is not yet published, the permalink can be edited as usual.
  3. Once a post is published, the permalink editing interface is disabled.

螢幕擷圖

  • With and without Strict Permalinks

安裝方式

  1. Upload the strict-permalinks folder to the /wp-content/plugins/ directory or install directly through the plugin installer.
  2. Activate the plugin through the ‘Plugins’ menu in WordPress or by using the link provided by the plugin installer.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Strict Permalinks〉的開發相關工作。

參與者

將〈Strict Permalinks〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.1 (2010-03-17):

  • Fixed a bug that was preventing the edit post tag cloud from working

1.0 (2009-11-06):

  • Initial Public Release