My website includes making JSON requests to another website which is necessary for the website’s functionality. This wouldn’t be a problem, however, if the website was not hosted on http and if my website was hosted on https! Making the other website be https is not an option, and on my website, users to enter valuable information at all, so it’s fine if the website was unsecure. So is there a way to make my website be hosted on http by default instead of https? Thanks!
In .htaccess inside public_html
use
# BEGIN Force HTTP
RewriteEngine On
RewriteCond %{SERVER_PORT} 443
RewriteRule ^(.*)$ http://yourdomain.com/$1 [R=301,L]
# END Force HTTP
REPLACE YOURDOMAIN.COM WITH YOURDOMAIN.000WEBHOSTAPP.COM
2 Likes