Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: http site not opening in my country  (Read 5641 times)

Offline clutchespk

  • Newbie
  • *
  • Posts: 9
  • Karma: +1/-0
    • View Profile
http site not opening in my country
« 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..

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: http site not opening in my country
« Reply #1 on: July 24, 2017, 09:31:25 AM »
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.
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline clutchespk

  • Newbie
  • *
  • Posts: 9
  • Karma: +1/-0
    • View Profile
Re: http site not opening in my country
« Reply #2 on: July 24, 2017, 09:42:00 AM »
Which is your country?

Any suggestion what should I do?

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2046
  • Karma: +318/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: http site not opening in my country
« Reply #3 on: July 24, 2017, 09:49:20 AM »
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

Code: [Select]
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
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

Offline clutchespk

  • Newbie
  • *
  • Posts: 9
  • Karma: +1/-0
    • View Profile
Re: http site not opening in my country
« Reply #4 on: July 24, 2017, 09:57:04 AM »
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.  :-\ :'(

Offline Basara

  • Administrator
  • Hero Member
  • *****
  • Posts: 5774
  • Karma: +274/-2
    • View Profile
Re: http site not opening in my country
« Reply #5 on: July 25, 2017, 03:00:16 AM »
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

Offline AmitSah

  • Newbie
  • *
  • Posts: 12
  • Karma: +2/-0
    • View Profile
Re: http site not opening in my country
« Reply #6 on: July 26, 2017, 08:04:08 AM »
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

 

Powered by SMFPacks Social Login Mod