Updated plugin.php for YOURLS 1.7

Changed hook redirect to redirect_location