AbanteCart Community
eCommerce construction => Installation and Configuration => Configuration => Topic started by: clutchespk on July 24, 2017, 09:15:58 AM
-
Hello all,
I have ssl on site and used redirect in the .htaccess file to redirect all http to https. Its working fine in some countries but in my particular country its not working on 90% networks... i am unable to solve the problem even hosting provider could not solve this...
e.g. http:// www dot clutchespk dot com is not working
while https:// www dot clutchespk dot com is working
But currently from germany its working both the ways..means that redirect works..
-
i tried to open non-secure url and site redirected me to https normally.
have no ideas.
probably someone blocks "Location" http-header. May be provider.
-
Which is your country?
Any suggestion what should I do?
-
i guess it is not related to country. looks like some internet security software blocks it on your PC.
you can check http response header inside browser developer tools (just press F12 key and look into tab Network)
Then click on request and see headers
you must see this
Content-Type "text/html"
Content-Length "1123"
Date "Mon, 24 Jul 2017 13:46:57 GMT"
Accept-Ranges "bytes"
Server "LiteSpeed"
Cache-Control "no-cache, no-store, must-revalidate, max-age=0"
Location "https://clutchespk.com/"
Connection "Keep-Alive"
You need to check Location header. It redirect you browser to new URL
-
actually in different cities I have asked my friends to check it ..but its not working for any of my friends in different cities. in my country..one friend even used a proxy of IRELAND but it didnt even worked for him...It only works for them after putting https. :-\ :'(
-
http:// www dot clutchespk dot com redirect me to https without any problems
Country Thailand
How long time ago you connect your domain to hosting? If you made any changes in DNS or change hosting some countries resolve your DNS correctly only after 1-5 days :o
-
You need to edit .httaccess
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
replace https to http if u have non secure server
or its problem from your hosting provider ask your hosting provider to unblock your ip