RewriteEngine on RewriteCond %{HTTPS} off RewriteRule ^(.*)$ https://info781416.wixsite.com/gryderworks/$1 [R=301,L] SetEnvIf REDIRECT_HTTPS (.*) HTTPS=$1 RewriteEngine on RewriteCond %{ENV:HTTPS} !on RewriteRule .* https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]