Submitted by stephenwenceslao on Thu, 07/20/2017 - 13:21 RewriteEngine on RewriteCond %{HTTPS} off RewriteCond %{HTTP_HOST} ^((?!www\.)[^.]+)\.drupalista\.net$ RewriteRule ^ https://%1.drupalista.net%{REQUEST_URI} [NE,L,R]