do not use 301 redirect for https, because it is cached by the browsers