Hi all
Apparently my ssl is not working on all versions of my domain, I have been in contact with domain hosts and they suggest the following
Hi Chris
To access the file you will need to navigate to /var/www/vhosts/internet-workwear.co.uk/httpdocs/.htaccess via ssh
To force a specific domain to use HTTPS, use the following lines of code in the .htaccess file ir:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^example\.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]
Make sure to replace example\.com with the domain name you're trying force to https. Additionally, you need to replace
www.example.com with your actual domain name.
Warmest regards
This is all gobblde gook to me as no idear on how to start, can anyone explain better please
Apparently my ssl is not working on all versions of my domain, I have been in contact with domain hosts and they suggest the following
Hi Chris
To access the file you will need to navigate to /var/www/vhosts/internet-workwear.co.uk/httpdocs/.htaccess via ssh
To force a specific domain to use HTTPS, use the following lines of code in the .htaccess file ir:
RewriteEngine On
RewriteCond %{HTTP_HOST} ^example\.com [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ https://www.example.com/$1 [R,L]
Make sure to replace example\.com with the domain name you're trying force to https. Additionally, you need to replace
www.example.com with your actual domain name.
Warmest regards
This is all gobblde gook to me as no idear on how to start, can anyone explain better please
Comment