southcot.eu


using .htaccess:-

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


then using .htaccess:-

RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://www.southcot.eu/$1 [R=301,L]
RewriteCond %{HTTP_HOST} ^southcot.eu [NC]
RewriteRule ^(.*)$ https://www.southcot.eu/$1 [R=301,L]


was using .htaccess:-

# Make sure we have www
RewriteCond %{HTTP_HOST} ^southcot\.eu$ [NC]
RewriteRule ^(.*)$ https://www.southcot.eu/$1 [R=301,QSA,L]

# Redirect to https if not already
RewriteCond %{HTTPS} !=on
RewriteRule ^(.*)$ https://www.southcot.eu/$1 [R=301,QSA,L]