WordPress redirection plugins are the source of all evil

If you have a plugin that does page redirection, it is most likely going to interfere with other plugins you have.

Take logging in for example, wp_login hook is called after the common wp_signon function. Most plugin hooks on to wp_login and do a redirection header and an exit after that. This means that other plugins will not have a chance for their wp_login to be called because the php has already exited. The same theory applies for other redirection plugins. Once an exit or die function is called, php has to end and hence stopping other plugins from functioning correctly. This then becomes a battle of plugins priority…bad.

I shared some tips on how to troubleshoot wordpress.

have fun

Author: bpeh

Bernard Peh is a great passioner of web technologies and one of the co-founder of Sitecritic.net Website Design and Reviews. He works with experienced web designers and developers everyday, developing and designing commercial websites. He specialises mainly in SEO and PHP programming.