Repair the redirect to the home page