Security · Forms

HTTPS form posts to HTTP

The search form on this secure page sends its data to an http:// address, so whatever a visitor types is sent unencrypted before the redirect.

How this page is built

The form below sends a search to http://techseotests.com/fixtures/search-results/. The server redirects that address to HTTPS, but by then the search has already crossed the network in plain text. Browsers warn visitors before they submit it.

Why it matters

A form on an HTTPS page that submits to an HTTP address sends its data without encryption. Anyone on the same network can read or change it. Browsers show a warning before the form is sent, which puts visitors off and makes the site look unsafe.

It usually happens when a form’s action is hard coded with an old http:// address, or when the site moved to HTTPS and forms were missed.

How to check it

View the source and look at the action of each form. Crawl tools report forms on HTTPS pages that submit to HTTP addresses, and browsers show a warning in the console when the page loads.

How to fix it

Change the form action to the HTTPS address, or to a relative address so it always uses the same protocol as the page.

Back to all tests