This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Better HTTP Redirects

Description

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.

Installation

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.

Reviews

11 Eanáir, 2017
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.
Read all 1 review

Contributors & Developers

“Better HTTP Redirects” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

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