Removed extra error_reporting setting
Corrected redirection URLs