RewriteEngine On RewriteCond %{HTTP_HOST} smhc-archives\.com [NC] RewriteCond %{SERVER_PORT} 80 RewriteRule ^(.*)$ https://www.smhc-archives.com/$1 [R,L]