First off, I know absolutely nothing about coding so please be gentle and reply as if I'm an idiot!
I have a website on a Linux based virtual server so it uses both ports 80 and 443. I need visitors to go to the https version of the site for payment collection but as most users will not type in https or http they are immediately directed to http.
I need a user who types wwwdomainname.com or domainname.com into the address bar to find that
https://thedomainname opens in their webbrowser.
various forums have advised that the .htaccess file should read:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
and this should work. My htaccess files does read this, but it doesn't work.
Can anyone help!! Please speak very s-l-o-w-l-y if you are kind enough to do so.
Thanks
Oob