该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的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」是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

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