added http status 301 to ssl redirect