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