This plugin hasn’t been tested with the latest three 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.

Debug wp_redirect

Description

Important: It is not recommended you leave debugging enabled when you’re done, the debug information exposes file paths of files as well as PHP arguments passed into functions from the PHP debug_backtrace() which may contain sensitive information.

For those times when you have a lot of plugins and theme functions interacting and you just need to figure out what / where it’s redirecting.

This plugin outputs information about each wp_redirect call done on the front of a site.

To enable redirect debugging on a site, add this to your wp-config.php file:

define( 'DEBUG_WP_REDIRECT', true );

To enable redirect debugging in the admin dashboard of a site, add this to your wp-config.php file:

define( 'DEBUG_WP_REDIRECT_ADMIN', true );

Installation

  1. Unpack the entire contents of this plugin zip file into your wp-content/plugins/ folder locally
  2. Upload to your site
  3. Navigate to wp-admin/plugins.php on your site (your WP Admin plugin page)
  4. Activate this plugin

OR you can just install it with WordPress by going to Plugins >> Add New >> and type this plugin’s name

FAQ

Installation Instructions
  1. Unpack the entire contents of this plugin zip file into your wp-content/plugins/ folder locally
  2. Upload to your site
  3. Navigate to wp-admin/plugins.php on your site (your WP Admin plugin page)
  4. Activate this plugin

OR you can just install it with WordPress by going to Plugins >> Add New >> and type this plugin’s name

Reviews

September 3, 2016
Worked really good. I had one issue where an object was echoed out like a string. A quick edit fixed that, and not it works perfectly. 5/5 if not for that error (on line 63).
Read all 4 reviews

Contributors & Developers

“Debug wp_redirect” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Debug wp_redirect” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Change log

1.1

  • Default for plugin is not to output unless DEBUG_WP_REDIRECT is defined and set to true
  • Updated plugin to allow for translations of text
  • Cleaned up debugging output

1.0

  • Just a simple wp_redirect debug plugin, nothing fancy to see here