Changed the header redirects to full URLS instead of linking to files the PHP way