On this page
What this issue is
Every page can be reached by a secure address (https://) and an insecure one (http://). A healthy site answers the insecure address with a 301 redirect (a permanent move) to the secure one. In this issue, the insecure address does not redirect. It returns 200 OK and shows the full page.
Why it costs you leads or sales
Duplicate URLs cause several problems that add up on a site that depends on search and paid traffic.
- Ranking signals such as links are split between two versions instead of building on one.
- Google may index or show the http version in results, which browsers can flag as Not secure.
- Crawl budget is spent on duplicate copies instead of your new pages.
- Visitors who land on http may see a browser warning on pages with forms, which hurts trust at the moment they decide to enter details.
- Analytics and ad reports can split traffic across two hostnames, and cookies set on one version may not carry to the other.
- Forms posted from an http page are sent unencrypted.
- Link or ad clickPoints to http://example.com/offer
- Server responseReturns 200 instead of a 301 to https
- BrowserShows Not secure on the form page
- Lead formVisitor hesitates or leaves
The missing redirect leaves visitors on an insecure copy of the page.
How to check if your site has it
You need to see the raw status code of the http address, not what the browser ends up showing. Browsers often auto-upgrade to https, which can hide the problem.
Run a header request
In a terminal run the command below. A healthy site shows 301 and a Location header starting with https://.
Test several URL types
Check the home page, a deep page, a page with a query string and your form or checkout URLs. A redirect can work on the home page and fail elsewhere.
Look for a 200
If the http request returns HTTP/1.1 200 OK, the issue is present.
Check Google
In Google Search Console use URL Inspection on the http version, or search Google for site:example.com and look for http:// results.
curl -I http://example.com/pricing
# Healthy result:
# HTTP/1.1 301 Moved Permanently
# Location: https://example.com/pricing
# Problem result:
# HTTP/1.1 200 OKHow to fix it
Add one site-wide rule that sends every http request to the same path on https with a 301. Where you do it depends on your platform. Make sure the SSL certificate is valid first, or visitors will see a certificate error after the redirect.
Update the site URLs
Go to Settings > General and change both WordPress Address and Site Address to start with https://.
Add a server redirect
On Apache hosting add the rule from the Custom code tab to .htaccess above the WordPress block. Many hosts also offer a Force HTTPS switch in their control panel.
Fix mixed content
Replace remaining http:// links to images and scripts with https:// using a search-and-replace tool or plugin of your choice.
Turn on the https redirect
In Settings > Domains, make sure your primary domain has an SSL certificate and that Redirect HTTP to HTTPS (or similar wording in your admin) is enabled. Shopify normally does this by default once SSL is active.
Check the primary domain
Make sure all other domains redirect to the primary one, then re-run the curl test.
Enable SSL
In Project settings > Hosting, turn on SSL hosting for the site.
Publish
Publish to all domains, then re-test the http address. Webflow then redirects http to https for hosted domains.
Check SSL
Wix provides SSL for connected domains. In the dashboard open Settings > Domains and confirm the domain is connected and SSL is active.
Reconnect if needed
If http still returns 200, reconnect the domain or contact Wix support, as the redirect is handled on their side.
Set SSL to Secure
Go to Settings > Advanced > SSL and choose Secure (Preferred). This redirects http requests to https.
Set the primary domain
In Settings > Domains make sure the https domain is primary, then re-test.
Check the domain setup
In your funnel or website domain settings, confirm the custom domain is connected and SSL is issued. Look for a force-https or SSL option for the domain, as the exact name can vary by version.
Re-test
Run the curl check on funnel step URLs. If http still returns 200, ask GoHighLevel support.
Apache (.htaccess)
Add a RewriteRule that sends http to https with a 301 (snippet below).
Nginx
Add a separate port 80 server block that returns 301 to the https URL (snippet below). Reload Nginx afterwards.
CDN or load balancer
If a CDN sits in front, use its always-use-https setting, and make sure the origin does not create a redirect loop.
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule ^(.*)$ https://%{HTTP_HOST}/$1 [L,R=301]server {
listen 80;
server_name example.com www.example.com;
return 301 https://$host$request_uri;
}Update canonical tags
Make sure every rel=canonical uses https URLs.
Update the sitemap
List only https URLs in your XML sitemap.
Update internal links and ads
Change hard-coded http links, ad final URLs and email links to https to avoid an extra hop.
Add the https property in Search Console
Use a Domain property if possible, so both versions are covered.
Consider HSTS later
Once everything works on https, you can add a Strict-Transport-Security header so browsers skip http entirely. Test first, as it is hard to undo quickly.
Before
- http://example.com/pricing returns 200
- Two copies of every page can be indexed
- Visitors may land on an insecure page
After
- http://example.com/pricing returns 301 to https
- One preferred URL for every page
- All visitors end up on the secure page
How to confirm it's fixed
- curl -I on http home page returns 301 with an https Location.
- A deep page and a URL with a query string both redirect and keep the path and parameters.
- The redirect is a single hop, not a chain through several URLs.
- The final https URL returns 200 and shows a valid padlock.
- Form and checkout pages load without mixed-content warnings.
- Search Console URL Inspection shows the https version as the indexed one over time.
How to prevent it happening again
The redirect often breaks after a hosting move, a CDN change, a domain reconnect, a new landing page tool or a server config rewrite. Keep the rule in version control or documented settings, and re-test after any of these changes.
- Re-run the curl check after every hosting, DNS or CDN change.
- Use https in all new links, ads and email templates.
- Keep the SSL certificate renewing automatically and watch expiry dates.
- Check new subdomains and funnel domains for the same redirect.
How FunnelGuard handles this
FunnelGuard detects this issue only partly. It checks the http to https redirect on the URLs of your monitored journeys, such as your lead form and checkout pages. If the http version of one of those URLs does not redirect to https, you can see it in the run.
It does not crawl your whole site, so it will not find an http copy of a blog post, a category page or any URL that is not part of a journey. It also does not check what Google has indexed.
To cover the rest by hand, run the curl check on your home page and a sample of other page types, review the Page indexing report in Search Console for http URLs, and search Google for site:yourdomain.com to spot http results. You can start with the Free plan (1 site, 2 journeys, daily checks, no card) and a free read-only website audit is also available.
| Check | FunnelGuard | By hand |
|---|---|---|
| http to https on journey URLs | Yes | Optional |
| http to https on other site pages | No | curl or a site crawler |
| http URLs indexed by Google | No | Search Console, site: search |
| Canonical and sitemap use https | No | View source, sitemap file |
Questions people ask
Why do both http and https versions of my site load?
Your server or host is not redirecting insecure requests. The SSL certificate makes https work, but a separate rule is needed to send http visitors there with a 301 redirect.
Is it bad for SEO if http and https both return 200?
Yes. Search engines see two identical URLs, which can split link signals, waste crawl budget and cause the http version to appear in results. A 301 redirect to https fixes it.
How do I redirect http to https?
Add a site-wide 301 rule at the server, CDN or platform level. On Apache use a RewriteRule in .htaccess, on Nginx return 301 from the port 80 server block, and on hosted builders switch on the SSL or force-https setting.
Should I use a 301 or 302 redirect for http to https?
Use a 301, which tells search engines the move is permanent. A 302 signals a temporary move and may keep the http URL in play longer.
How can I check if http redirects to https?
Run curl -I http://yourdomain.com/page and look at the first line. A 301 with a Location header starting with https:// is correct, and a 200 means the problem is present.
Does a canonical tag replace the https redirect?
No. A canonical tag is a hint, while a 301 redirect is a firm instruction that also moves visitors. Use the redirect, and also point canonicals to https.
Will redirecting http to https lose my rankings?
A correct one-hop 301 passes signals to the https URL, so a well-done redirect should not harm rankings. Problems usually come from redirect loops, chains or broken certificates, so test after the change.
Related issues
- SEO-046Canonical uses http while the site is httpsFix guide
- SEO-053Both www and non-www versions resolve with 200Fix guide
- SEO-055Trailing slash and non-trailing slash versions both resolveFix guide
- SEO-065Mirror domain or IP address serves the site with 200Fix guide
- SEO-042Missing rel=canonical on indexable pagesFix guide
- SEO-052Google chose a different canonical than declaredFix guide