RewriteCond %{HTTP_HOST} ^hanaenet.com [NC,OR] RewriteCond %{HTTP_HOST} ^www.hanaenet.com [NC] RewriteRule ^(.*)$ https://www.hanaenet.com/$1 [L,R=301,NC