Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Form posts over HTTP from an HTTPS page: how to fix it

CNV-058Medium impactDetectedBy FunnelGuardPublished Updated
On this page

What this issue is

Every HTML form has an action attribute: the web address that receives the data when someone presses submit. If the page is served over HTTPS but the action is http://..., the form creates a kind of mixed content: a secure page handing data to an insecure address.

Browsers treat this as a risk because the data travels unencrypted. Depending on the browser and version, the visitor may see a warning such as 'Your information will be sent over an insecure connection', see a 'Not secure' marker, or have the submission blocked outright.

It usually appears after a migration to HTTPS, when an old embedded form, a copied snippet or a plugin setting still holds the old http:// address.

Why it costs you leads or sales

A warning at the moment someone is about to hand over their name, phone number or email makes people stop. Some browsers block the request completely, so the visitor clicks submit and nothing arrives. You never see those lost leads, because the failed send may never reach your server.

Where the lead is lost
  1. Visitor lands on https pagePage loads securely
  2. Fills in the formLooks normal
  3. Submits to http:// actionBrowser warns or blocks
  4. Lead reaches inbox and CRMNever arrives
  5. Thank-you page and conversion tagNever fires

The page loads fine, so the break only shows at submit.

How to check if your site has it

Find an insecure form action
  1. Open the page over https

    Load the page with the form in Chrome or Firefox and look for a Not secure marker or a warning when you click submit.

  2. Inspect the form

    Right-click the form, choose Inspect and find the <form> tag. Read the action attribute. Anything starting with http:// is the problem.

  3. Check the console

    Open DevTools, then Console. Look for messages mentioning mixed content or an insecure form submission.

  4. Check the Network tab

    Submit a test entry with Network open. A request to an http:// URL, or one shown as blocked, confirms it.

  5. Search the page source

    View source and search for action="http:. Check embedded forms (iframes or scripts) too, since they may carry their own action.

Quick check from the command linebash
curl -s https://example.com/contact/ | grep -io '<form[^>]*action="http:[^"]*"'

How to fix it

The fix is to make the form send to an https:// address. If your form handler is on the same site, a relative path is safest because it follows the page's protocol.

Form action

Before

  • action="http://example.com/submit"
  • Browser shows a warning or blocks the send
  • Lead lost, no thank-you page

After

  • action="https://example.com/submit" or action="/submit"
  • No warning
  • Lead delivered, thank-you page loads
Fix by platform
  1. Fix the site URLs

    Go to Settings, then General. Make sure both WordPress Address and Site Address start with https://.

  2. Check the form plugin

    Open the form in your form plugin and look for a custom action, redirect or webhook URL starting with http://. Change it to https://.

  3. Replace old links in the database

    If old http:// addresses are stored in content, use a search-and-replace tool to update them, and take a backup first.

Corrected formhtml
<form action="https://example.com/submit" method="post">
  <input type="email" name="email" required>
  <button type="submit">Send</button>
</form>

How to confirm it's fixed

Confirm checklist
  • The form tag's action starts with https:// or is a relative path.
  • No mixed content messages appear in the browser console.
  • Submitting a test entry shows no warning.
  • The Network tab shows the request going to an https:// URL with a success status.
  • The test lead arrives in your inbox and CRM.
  • The thank-you page loads and your conversion tag fires.

How to prevent it happening again

Prevention
  • After any move to HTTPS, search templates, embeds and plugin settings for http:// addresses.
  • Use relative paths or https:// when pasting form or webhook URLs.
  • Re-test forms after theme, plugin or form-tool changes.
  • Keep SSL certificates renewed on the site and on any form endpoint.
  • Add a Content-Security-Policy with upgrade-insecure-requests only as a safety net, not a substitute for correct URLs.

How FunnelGuard handles this

FunnelGuard detects this issue today. Its robot visitor loads your pages on a schedule, runs the lead form journey and runs a mixed content check (no_mixed_content), which flags an insecure http:// request made from a secure page, such as a form posting over http.

If a check fails, it is re-checked from a second region before one alert goes out by email, Slack, Teams, WhatsApp, webhook or PagerDuty, with a screenshot and a likely cause. The Free plan covers 1 site and 2 journeys with daily checks and no card. Paid plans have a 3-day free trial, and a free read-only website audit is available.

Frequently asked questions

Questions people ask

Why does my form say 'your information will be sent over an insecure connection'?

The page is on HTTPS but the form's action attribute points to an http:// address. Browsers warn because the data would travel unencrypted. Change the action to https:// or a relative path.

How do I fix a form that posts over http from an https page?

Find the form tag, change the action to an https:// URL, and fix any setting that keeps generating http links, such as WordPress Site Address or a plugin webhook field. Then submit a test and check the browser console for mixed content messages.

Will a redirect from http to https fix an insecure form?

Not reliably. The browser may still warn, the data has already been sent unencrypted, and some redirects turn the POST into a GET and drop the data. Update the form action itself.

Does an insecure form action hurt my SEO?

It is mainly a trust and conversion problem. Browsers may flag the page as not secure, which can put visitors off, but the clearest cost is lost or blocked form submissions.

How can I tell if my form is blocked by mixed content?

Open DevTools, then Console, and submit the form. Messages about mixed content or a blocked insecure request, or a Network entry to an http:// URL that fails, show the form is affected.

Why did this start after I moved my site to HTTPS?

Old form code, embeds or plugin settings often still hold the former http:// address. Moving the pages to HTTPS does not rewrite those stored URLs automatically.

Can FunnelGuard detect a form posting over http?

Yes. Its mixed content check (no_mixed_content) runs during scheduled journey checks and flags insecure requests from secure pages, then alerts you with a screenshot and a likely cause.

Does FunnelGuard catch this?

Detected

FunnelGuard checks for this today.

How: no_mixed_content.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.