Thanks for the suggestion, guys. It didn’t work yet.
On Chrome, it gives the TOO_MANY_REDIRECTIONS error message.
Also, the website is ssl certified, @mithilesh Kumar.
With the original .htcaccess, this is what happens:
https://www.dukescasino.com/ – works perfectly
https://dukescasino.com/ – redirects to the above which is great
The two options below loads fine, but it should redirect to the https version:
https://www.dukescasino.com/
https://dukescasino.com/
Here is the full .htcaccess file that gives the error message:
<IfModule mod_rewrite.c>
RewriteEngine On
# BEGIN WordPress
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
# BEGIN Custom
# Redirect a user from HTTP to HTTPS
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [R=301,L]
# END Custom
</IfModule>