RewriteEngine On RewriteCond %{HTTPS} !=on RewriteCond %{SERVER_NAME} corp.broadviewmortgage.com RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [R,L]