Adding secondary support for php redirect