rewrite everything to / for https