Update homepage.php

fix the redirect issue