When I try to submit a form from Https to http it shows:
Form Insecure are you sure you want to submit?
when I submit the page, it starts loading and it hangs forever. This form submitting works on android PC and safari mac.
When I try to submit a form from Https to http it shows:
Form Insecure are you sure you want to submit?
when I submit the page, it starts loading and it hangs forever. This form submitting works on android PC and safari mac.
As I said in comments, change all instances of http://
to //
for scripts, images, etc. they will automatically detect either protocol for the environment it's in.
If as you say it redirects to an https
protocol rather than what you would like it to redirect to http
, you can simply use a header or other form of redirection.
Examples:
header("Location: http://example.com/other_page.php");
exit; // This stops further execution
or a meta method:
<meta http-equiv="refresh" content="0;url=finalpage.html">
or Javacript:
window.location.replace("http://example.com/");
The above examples were pulled/borrowed from: