Geolocation works offline but when hosted doesn't work. How to make it work on websites that doesn't have SSL? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Geolocation works offline but when hosted doesn't work. How to make it work on websites that doesn't have SSL?

I have tried to check geolocation offline. It works perfectly but when hosted doesn't work. I surfed to reason and the answer was like it doesn't on websites that doesn't have SSL certificate. Can someone kindly let me know if there is any free SSL certificates. I have plesk server under a domain name so it is not possible for me to install Let's Encrypt SSL certificate. Any help is highly appreciated. Hoping to hear a response soon.

10th Apr 2018, 3:51 PM
Muthiah Abbhirami
Muthiah Abbhirami - avatar
3 Answers
0
if possible than try to add https through. htaccess file
10th Apr 2018, 5:07 PM
Rohit Kumar
Rohit Kumar - avatar
0
Can you let me know how to do that!?
10th Apr 2018, 5:11 PM
Muthiah Abbhirami
Muthiah Abbhirami - avatar
0
. htaccess file can ovewrite our actual url so may be possible to overwrite https to http so you can put https to google console url and that will redirect to http.I am not fully sure it wotks but htacces is used overwrite over the domain names
10th Apr 2018, 5:17 PM
Rohit Kumar
Rohit Kumar - avatar