Wanted to convert my free HTTPS site to HTTP

I want to convert my free HTTPS site to HTTP because I have to do an IoT project based on nodemcu. But I am having issues due to HTTPS because of certificates and encryption.
How can I do it?

In .htaccess inside public_html

use


# BEGIN Force HTTP 000webhost
RewriteEngine On
RewriteCond %{SERVER_PORT} 443
RewriteRule ^(.*)$ http://site.000webhostapp.com/$1 [R=301,L]
# END Force HTTP

Replace site.000webhostapp.com with your actual site please

1 Like

Thank you very much you solved my problem :heart_eyes:

1 Like

No worries happy site building :grimacing:

1 Like