*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: