PHP based redirection

As part of the move to heroku