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

Rewrite Rules Inspector

外掛說明

A simple WordPress admin tool for inspecting rewrite rules. View a listing of all your rewrite rules, see which rewrite rules match a given URL (and the priorites they match in), or filter by different sources of rewrite rules. Perform a soft flush of your rewrite rules to regenerate them.

Originally developed for clients hosted at WordPress VIP, we thought it would be useful for development environments, etc. too. Feel free to fork the plugin in GitHub — pull requests are always welcome. Hit us with feedback, questions, bug reports, and feature requests in the GitHub issues.

螢幕擷圖

  • See which rewrite rules match a given URL, and the priorities they match in.

  • An error message appears if rewrite rules are missing in the database

安裝方式

Install the plugin from within WordPress

  1. Visit the Plugins page from your WordPress dashboard and click “Add New” at the top of the page.
  2. Search for “rewrite-rules-inspector” using the search bar on the right side.
  3. Click “Install Now” to install the plugin.
  4. After it’s installed, click “Activate” to activate the plugin on your site.

Install the plugin manually

  1. Download the plugin from WordPress.org or get the latest release from our Github Releases page.
  2. Unzip the downloaded archive.
  3. Upload the entire rewrite-rules-inspector folder to your /wp-content/plugins directory.
  4. Visit the Plugins page from your WordPress dashboard and look for the newly installed plugin.
  5. Click “Activate” to activate the plugin on your site.

使用者評論

2021 年 11 月 7 日
Whenever you change a custom post type, you must flush the rewrite rules. This plugin does in in a single click. Additionally it enables you to check your rewrite rules against your URLs to make sure everything is working as it should. This is one of my essential plugins.
2018 年 3 月 25 日
Love the plugin but noticed today, whilst debugging a new plugin I'm writting, that the plugin still uses the depreciated functions: screen_icon() and get_screen_icon(). Both have gone depreciated since 3.8.0 so I reckon a minor update to avoid these errors from popping up in the debug mode is worth the effort 🙂 The fix - with backwards compatibility (do we need that?) - would be to change: <?php screen_icon( 'tools' ); ?> into: <?php if ( function_exists('screen_icon') ) screen_icon( 'tools' ); ?> ___ (!) Notice: screen_icon is deprecated since version 3.8.0 with no alternative available. (!) Notice: get_screen_icon is deprecated since version 3.8.0 with no alternative available. Location ..\rewrite-rules-inspector.php:208
2017 年 9 月 16 日
Added to my short list of essential plugins for dev- and staging-environments.
閱讀全部 25 則使用者評論

參與者及開發者

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

參與者

Rewrite Rules Inspector 外掛目前已有 1 個本地化語言版本。 感謝全部譯者為這個外掛做出的貢獻。

將〈Rewrite Rules Inspector〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

See the change log.