In reply to Chris Finnegan.

Alternatively, use this snippet and put in the wp-config.php Too much plugin bloat your wp, doesn't it? :)