Title: Better HTTP Redirects
Author: hakre
Published: <strong>June 24, 2010</strong>
Last modified: March 25, 2011

---

Search plugins

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.

![](https://s.w.org/plugins/geopattern-icon/better-http-redirects.svg)

# Better HTTP Redirects

 By [hakre](https://profiles.wordpress.org/hakre/)

[Download](https://downloads.wordpress.org/plugin/better-http-redirects.1.2.2.zip)

 * [Details](https://twd.wordpress.org/plugins/better-http-redirects/#description)
 * [Reviews](https://twd.wordpress.org/plugins/better-http-redirects/#reviews)
 *  [Installation](https://twd.wordpress.org/plugins/better-http-redirects/#installation)
 * [Development](https://twd.wordpress.org/plugins/better-http-redirects/#developers)

 [Support](https://wordpress.org/support/plugin/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](http://hakre.wordpress.com/2011/03/20/how-to-debug-redirect-problems-in-wordpress).
 * 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](https://wordpress.org/extend/plugins/better-http-redirects/).
As always, for anything concrete and precise, refer to [the plugin sourcecode itself](https://plugins.trac.wordpress.org/browser/better-http-redirects/trunk/better-http-redirects.php),
it ships with [phpdoc style comments](http://en.wikipedia.org/wiki/PHPDoc).

## 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

![](https://secure.gravatar.com/avatar/1b02697f1c0632758437ac2d7ce62b3f58845248f2520857403f8f10d1b918ee?
s=60&d=retro&r=g)

### 󠀁[Still works, amazingly!](https://wordpress.org/support/topic/still-works-amazingly/)󠁿

 [pcgardner](https://profiles.wordpress.org/pcgardner/) January 11, 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 ](https://wordpress.org/support/plugin/better-http-redirects/reviews/)

## Contributors & Developers

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

Contributors

 *   [ hakre ](https://profiles.wordpress.org/hakre/)

[Translate “Better HTTP Redirects” into your language.](https://translate.wordpress.org/projects/wp-plugins/better-http-redirects)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/better-http-redirects/),
check out the [SVN repository](https://plugins.svn.wordpress.org/better-http-redirects/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/better-http-redirects/)
by [RSS](https://plugins.trac.wordpress.org/log/better-http-redirects/?limit=100&mode=stop_on_copy&format=rss).

## 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

## Meta

 *  Version **1.2.2**
 *  Last updated **15 years ago**
 *  Active installations **30+**
 *  WordPress version ** 2.9 or higher **
 *  Tested up to **3.2.1**
 *  Language
 * [English (US)](https://wordpress.org/plugins/better-http-redirects/)
 * Tags
 * [http](https://twd.wordpress.org/plugins/tags/http/)[redirect](https://twd.wordpress.org/plugins/tags/redirect/)
 *  [Advanced View](https://twd.wordpress.org/plugins/better-http-redirects/advanced/)

## Ratings

 4 out of 5 stars.

 *  [  0 5-star reviews     ](https://wordpress.org/support/plugin/better-http-redirects/reviews/?filter=5)
 *  [  1 4-star review     ](https://wordpress.org/support/plugin/better-http-redirects/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/better-http-redirects/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/better-http-redirects/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/better-http-redirects/reviews/?filter=1)

[Add my review](https://wordpress.org/support/plugin/better-http-redirects/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/better-http-redirects/reviews/)

## Contributors

 *   [ hakre ](https://profiles.wordpress.org/hakre/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/better-http-redirects/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://www.prisonradio.org/donate.htm)