On this page
What this issue is
Every HTML form has an action attribute: the address the browser sends the form data to. If your page is on https:// but the action is http://, the page is secure and the submission is not. This is a type of mixed content (secure page, insecure request).
<form action="http://www.example.com/submit" method="post">
<input type="email" name="email">
<button type="submit">Send</button>
</form>Why it costs you leads or sales
Modern browsers treat insecure form submissions seriously. Depending on the browser and version, the visitor may see a warning that the information they are sending is not secure, or the submission may be blocked outright. Some visitors will stop at the warning. Others will click send and silently lose the lead because the request never reached you.
- Visit https pagePage loads securely
- Fill in formVisitor enters details
- Submit to http actionWarning shown or request blocked
- Lead in inbox/CRMNever arrives
- Conversion trackedThank-you page and tags never fire
The visitor does everything right; the break is at the submit.
Example: illustrative numbers only. Real losses depend on the browser, the warning shown and your audience.
How to check if your site has it
Open the page in Chrome
Use the page that holds the form, loaded over https.
Inspect the form
Right-click the form, choose Inspect, and find the <form> tag. Read the action value. If it starts with http://, you have the issue.
Check the Console
Open DevTools, then Console. Look for messages such as 'Mixed Content' or 'The form was loaded over HTTPS, but submitting to an insecure endpoint'.
Watch the Network tab
Open Network, tick Preserve log, submit a test entry and look for a request to an http:// URL, or one marked blocked.
Search your source
View page source and search for action="http:. Also check embedded forms inside iframes, since they have their own action.
How to fix it
The fix is to make the submit address https. First check that the receiving endpoint supports https. Open the https:// version of the URL in a browser or ask the tool's support. If it has no valid certificate, you need to switch to a provider or endpoint that does.
Check Settings > General
Make sure WordPress Address and Site Address both start with https://.
Check the form plugin
In your form plugin (Contact Form 7, WPForms, Gravity Forms and others) look for a custom action URL, webhook or CRM endpoint and change http:// to https://.
Fix stored URLs
If old http URLs are saved in the database, run a search and replace with a trusted tool, after taking a backup.
Edit the theme code
In Online Store > Themes > Edit code, search for action="http: in sections and snippets and change it to https.
Prefer Shopify's form helper
Use the Liquid {% form 'contact' %} tag, which builds a secure action for you.
Search Custom HTML tags
Look for tags that inject or rewrite a form and any that set an http:// action or endpoint, then update them to https://.
Publish a new version
Use Preview mode to test the form, then publish.
Open Form Settings
Select the form block, open Settings, and check the Action field. A custom action must start with https://.
Publish
Publish the site and test on the live domain.
Check embedded forms
If you pasted a form embed or custom code into a funnel page, make sure every URL in it uses https://.
Re-copy the embed
Copy a fresh embed code from the form builder rather than reusing an old one.
Check custom embeds
Wix's native forms are handled for you. If you use an HTML embed or a third-party form, open the embed code and change any http:// action to https://.
Check Code Blocks
Native form blocks are secure by default. In any Code Block holding a third-party form, change the action to https://.
Check SSL setting
In Settings > Advanced > SSL, confirm Secure is selected.
Update the action
Change the action to https:// or to a relative path such as /submit, which inherits the page's protocol.
Fix JavaScript endpoints
If you send data with fetch or XMLHttpRequest, change the URL there too.
Redirect http
Make sure the endpoint redirects http to https only as a fallback. Posts can lose their data on a redirect, so fix the source URL.
<form action="https://www.example.com/submit" method="post">
<input type="email" name="email">
<button type="submit">Send</button>
</form>Before
- Form action starts with http://
- Browser warns or blocks the submit
- Lead data sent unencrypted
- Leads and conversions go missing
After
- Form action starts with https://
- No warning on submit
- Data encrypted in transit
- Lead reaches inbox and CRM
How to confirm it's fixed
- The form tag shows an https:// action (or a relative path) in Inspect.
- The Console shows no mixed content messages on the page.
- The Network tab shows the submit request going to an https:// URL with a success status.
- A test lead arrives in your inbox and CRM.
- The thank-you page loads and your conversion tags fire.
- You tested in more than one browser, including a mobile one.
How to prevent it happening again
- After any move to https, search your theme, plugins and saved embeds for http:// form URLs.
- Copy fresh embed codes from your form or CRM tool instead of reusing old ones.
- Use relative paths for forms that post to your own site.
- Test every form end to end after theme, plugin or CRM changes.
- Add a Content-Security-Policy with the form-action directive if you want the browser to block unknown form targets.
- Schedule a regular test submission so a break is caught in hours, not weeks.
How FunnelGuard handles this
FunnelGuard detects this issue only partly. It flags mixed content on your pages, which can point to insecure resources including some insecure form requests. It does not check the form's action attribute directly, so a form that posts to an http address may not be reported by name.
Questions people ask
Why does my browser say a form is not secure on an https page?
The page is https, but the form's action URL starts with http://. That means the data would be sent without encryption, so the browser warns or blocks it. Change the action to https:// to remove the warning.
Can a form on an https page submit to an http URL?
Technically it can be written that way, but modern browsers may warn the visitor or block the submission. Even where it works, the data travels unencrypted. You should always use an https endpoint.
How do I find which form is posting to http?
Right-click the form, choose Inspect and read the action attribute on the form tag. Also check the Console for mixed content messages and the Network tab for requests to http:// addresses while you submit a test entry.
Will a redirect from http to https fix a form that posts to http?
Not reliably. The browser may block the insecure request before it is sent, and a redirect can drop the posted data. Change the form's action to https at the source.
Why did my form stop working after I moved my site to https?
The form probably still points to an old http address, such as a saved embed code, a hard-coded URL or a plugin setting. Update that address to https and test a submission.
Does a form posting to http affect my conversion tracking?
Yes. If the submission is blocked, the thank-you page or confirmation never loads, so the conversion tags that depend on it never fire. You lose both the lead and the record of it.
Does FunnelGuard detect a form posting to an http endpoint?
Only partly. It flags mixed content on your pages but does not check the form action itself. Its scheduled journey tests submit a test lead and check it arrives, which can reveal a blocked submission, and you should check actions by hand.
Related issues
- OPS-064HTTP not redirected to HTTPSFix guide
- OPS-065Redirect loop between http and https (CDN flexible SSL)Fix guide
- OPS-062HSTS header missingFix guide
- OPS-058Self-signed certificate in productionFix guide
- OPS-053SSL certificate expiredFix guide
- OPS-054Certificate expiring within days (renewal failing)Fix guide