Update redirect.php

Https redirect bugfix