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

Better HTTP Redirects

外掛說明

Better HTTP Redirects makes your Blog’s redirects to play more nicely the HTTP standards. Dual Mode Plugin, can be used as a standard Plugin or as a Must-Use Plugin.

Features

  • Provide Hypertext Fragments on redirects where applicable.
  • Compatible with any current usage of the wp_redirect() API function.
  • Prevent unnecessary redirect loops on UTF-8 based sites.
  • Improved user and robot (search engines etc.) experience for your website.
  • No need for you to wait until core code get’s fixed – if ever!
  • Helps you debugging redirect related issues with it’s unique Redirect Debug Mode.
  • Free

TODO

  • Verify that the plugin is stricly preventing redirects that redirect to the same URI (see RFC 2616 section 3.2.3).

Integration

“Better HTTP Redirects” works out of the box but for a better integration you can make use of the following:

  • Hook redirect_hypertext $hypertext = apply_filters('redirect_hypertext', $hypertext, $location, $status);

Document Scope

This file readme.txt has been created in the intention to provide data to be displayed on the wordpress.org plugin repository website. As always, for anything concrete and precise, refer to the plugin sourcecode itself, it ships with phpdoc style comments.

安裝方式

This Plugin can be used as a standard Plugin or as a Must-Use-Plugin. Please refer to your products documentation how to install plugins or contact your site administrator for that.

使用者評論

2017 年 1 月 11 日
Despite not having been updated for six years, this plugin still works. On activation it throws a fatal error, but it does activate, and does what it says on the tin. When WP_DEBUG is set to true, the plugin prevents redirections and displays a handy backtrace showing how the redirection was called. Very useful for debugging redirect loops and other redirection problems.
閱讀全部 1 則使用者評論

參與者及開發者

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

參與者

將〈Better HTTP Redirects〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

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

變更記錄

1.2.2

  • Bugfix Release
  • Fix of unprocessed boolean arguments in Backtrace.

1.2.1

  • Warning on RFC violating location headers.
  • Display of location added to Debug Mode.
  • Display of Call Stack in Debug Mode improved.
  • Display of classes in Debug Mode fixed.

1.2

  • Debug Mode – Disables automatic redirect if WP_DEBUG is enabled to use the plugin for debugging purposes.
  • Prevention of redirect loops for UTF-8 based canonical links (Ivrit, Japanese, Chinese etc.; Related: #14292)

1.1

  • Increased usability of the default HTML fragment.

1.0

  • Initial Release

-/-

  • Setting up SVN