My domain is www.supergenscript.com. Its hosted on www.easycloud.us and all DNS has been configured using CloudFlare. I have the following code in my .htaccess file.
RewriteEngine on RewriteCond %{SERVER_PORT} ^80$ RewriteRule ^(.*)$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R=301] Nothing except this there in my .htaccess file. This is the complete code my .htaccess has right now. I am using this code with the purpose to redirect from http to https automatically. Its changing from http to https but the index page is not loading. Instead, the browser keeps on loading and finally after spending some good amount of time it gives an error.
Here is the error received on my Google Chrome browser
This page isn’t working www.supergenscript.com redirected you too many times. Try clearing your cookies. ERR_TOO_MANY_REDIRECTS Please help me find a solution to this problem. I am really getting frustrated.