fix redirect for https sans www