php header wasnt redirecting in redirect page, had to use joomla app redirect