changed if in sslredirect