Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Form posts over HTTP or to a third-party domain: how to fix it

DLV-243High impactPartlyBy FunnelGuardPublished Updated
On this page

What this issue is

Every form has an action: the URL the browser sends the entered data to. There are two ways this goes wrong. The first is an action that begins with http://, so the data travels unencrypted. The second is an action that points to a third-party domain you did not intend, such as an old form tool, a test endpoint or a script injected by a compromised plugin.

Why it costs you leads or sales

Modern browsers show a "Not secure" or "information you submit is not secure" warning on forms that send data over HTTP, and some block the submission outright. Visitors who see that warning often abandon the form. Others submit and the request fails silently, so you never see the lead.

Where an insecure form loses the lead
  1. Ad clickVisitor lands on the page over HTTPS
  2. Fills the formBrowser may show a not secure warning
  3. Submit to http:// or unknown domainBlocked, intercepted or sent to the wrong place
  4. Thank-you page and trackingConversion never recorded
  5. Lead in inbox and CRMNever arrives

The visitor reaches the form, but the submit step breaks and everything after it is lost.

Submission rate with and without the warningExample numbers
Submission rate with and without the warning (example)Form over HTTPS: 60 % of form starts that submit; Form with warning: 35 % of form starts that submit023466035Form over HTTPSForm with warning% of form starts that submit

Example: illustrative numbers only. A visible not-secure warning can lower the share of visitors who complete the form.

How to check if your site has it

Check a form by hand
  1. Open the page in Chrome

    Load the page with the form and look at the address bar for a padlock or warning.

  2. Inspect the form

    Right-click the form, choose Inspect, and find the <form> tag. Read the action attribute. Note any URL that starts with http:// or uses a domain you do not recognise.

  3. Check the Console

    Open DevTools, go to Console, and reload. Look for messages such as "Mixed Content" that mention a form.

  4. Watch the Network tab

    Open the Network tab, tick Preserve log, submit a test entry, and see which URL receives the POST request and whether it uses https.

  5. View the source

    Search the page source for action="http: and for embedded scripts that create forms.

What to look for in the form taghtml
<!-- Bad: data sent unencrypted -->
<form action="http://example.com/submit" method="post">

<!-- Good: HTTPS endpoint you control or trust -->
<form action="https://example.com/submit" method="post">

How to fix it

The fix is to make sure the form posts to an HTTPS address that you recognise. Where you change it depends on how the form is built.

Fix the form action by platform
  1. Use HTTPS site URLs

    In Settings > General, make sure WordPress Address and Site Address both start with https://.

  2. Check the form plugin

    Open the form in its plugin settings and look for a custom action URL or a webhook or integration endpoint. Change any http:// URL to https:// or remove it.

  3. Fix hard-coded embeds

    Search page content and theme templates for action="http:. A search and replace plugin can update old links in the database; take a backup first.

Content-Security-Policy header limiting where forms can posttext
Content-Security-Policy: form-action 'self' https://forms.your-crm.com

How to confirm it's fixed

Confirmation checklist
  • The form tag's action is empty, relative or starts with https://
  • No mixed content messages appear in the browser Console
  • The POST request in the Network tab goes to an expected https:// domain
  • A test submission reaches your inbox and CRM
  • The thank-you page loads and your conversion tag fires
  • Chrome shows no not-secure warning on the page

How to prevent it happening again

Prevention checklist
  • Keep an inventory of every form and the endpoint it posts to
  • Review form and integration settings after any migration or domain change
  • Use a Content Security Policy form-action rule to limit destinations
  • Update plugins, themes and apps, and remove those you no longer use
  • Test every form end to end after each site release

How FunnelGuard handles this

FunnelGuard detects this issue only partly. It runs a check called no_mixed_content on your journey pages, which looks for insecure (http://) resources loaded on a secure page. When it finds one, it alerts you with a screenshot and a likely cause, after re-checking from a second region.

Try it: form action protocolInteractive
Form posts to http:// or unknown domain

Insecure action

Leads or data lost

Browser warns or blocks, data can be intercepted, and the lead may never arrive.

Toggle to see how the form destination changes what happens to a lead.

Questions people ask

Why does Chrome say my form is not secure?

Chrome shows this warning when a form on a page sends data to an http:// address, even if the page itself uses HTTPS. Change the form's action URL to https:// and the warning goes away.

How do I find out where my form sends its data?

Right-click the form, choose Inspect and read the action attribute on the form tag. You can also open the Network tab, submit a test entry and see which URL receives the POST request.

Is it bad if my form posts to a third-party domain?

Not always. Many CRMs and form tools use their own domain. It becomes a problem if the domain is unexpected, not HTTPS, or not covered by an agreement with you, because lead data could be stored or misused.

Will redirecting HTTP to HTTPS fix an insecure form?

Not reliably. A redirect can change a POST request into a GET and drop the form data, and the first request may already have been exposed. Fix the action URL itself.

How do I stop forms posting to unknown domains?

Add a Content Security Policy header with a form-action directive listing only the domains you allow. Browsers then refuse to submit forms anywhere else.

Why is my form not submitting after I moved to HTTPS?

The form may still have a hard-coded http:// action, which browsers block as mixed content. Search your page, theme and plugin settings for http:// URLs and change them to https://.

Can FunnelGuard detect a form posting over HTTP?

Partly. FunnelGuard's no_mixed_content check flags insecure resources loaded on a secure page, but it does not audit every form action or judge third-party domains. You should still check form destinations by hand.

Does FunnelGuard catch this?

Partly

FunnelGuard checks part of this.

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.