RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
+ # Redirect all subdomains to www
RewriteCond %{HTTP_HOST} =en.michsci-europe.com [OR]
+ RewriteCond %{HTTP_HOST} =staging.michsci-europe.com [OR]
RewriteCond %{HTTP_HOST} =michsci-europe.com
- RewriteRule ^(.*)$ https://staging.michsci-europe.com/$1 [R=301,L]
+ RewriteRule ^(.*)$ https://www.michsci-europe.com/$1 [R=301,L]
- # Redirect all subdomains to www
RewriteCond %{HTTP_HOST} =pmi.dev.cubedesigners.com [OR]
RewriteCond %{HTTP_HOST} =staging.pm-instrumentation.com [OR]
RewriteCond %{HTTP_HOST} =pm-instrumentation.com