Bring back http/https switch to redirects