Customers & growth · SEO & search marketing
HTTPS & security framework
Use it when
Your site still serves pages over HTTP, loads insecure files or lacks security headers, and you need it fully on HTTPS without losing search traffic.
Skip it when
- You do not yet know which crawl, speed or security problems the site has. Run Technical SEO audit framework first.
- The site is already on HTTPS and you need a standing watch after each release. Use Technical SEO monitoring.
- Pages load slowly or shift as they load. Use Core Web Vitals optimization.
- The move is done and you serve several language or country versions. Use International SEO (hreflang) next, with every hreflang URL on HTTPS.
What to apply first and what to use instead are listed below.
Inputs
- URL mapEvery HTTP URL and its HTTPS equivalent, including images, scripts and stylesheets, from a full crawl and the current sitemap.
- CertificatesA valid TLS certificate for every hostname, with its expiry date and the owner of renewal, from hosting or the CDN.
- Subdomain listEvery subdomain in DNS, internal ones included, with its owner.
- Search Console accessA domain property, or verified HTTP and HTTPS URL-prefix properties, with the HTTPS report.
- Mixed content listEach insecure file URL and the page that loads it, from the browser console, a crawler or Content-Security-Policy-Report-Only reports.
- Header baselineThe current response headers for each template, from a scanner such as Mozilla Observatory.
Steps
- Install a valid certificate on every hostname, and confirm every subdomain, internal ones included, serves HTTPS.
- Fix mixed content by switching each file to https, moving or self-hosting files with no HTTPS version, or removing them, and search CMS content as well as templates. Then add upgrade-insecure-requests.
- Point canonical tags, hreflang, internal links and the sitemap at the HTTPS URLs, and check that robots.txt on the HTTPS site blocks only what you intend.
- Redirect every HTTP URL to its HTTPS equivalent with one server-side 301 or 308, test a sample with URL Inspection or a crawler, and submit the HTTPS sitemap.
- Send HSTS on HTTPS responses, raising max-age in stages of five minutes, one week and one month, and check for broken pages before each step up. Apply for preload only once you can commit to a year or more.
- Add the security headers to every template, X-Content-Type-Options, frame-ancestors or X-Frame-Options, Referrer-Policy and Permissions-Policy, remove version details from Server and X-Powered-By, and rescan.
Output
An HTTPS move log with one row per hostname or template, updated until the HTTPS report shows the move complete.
- Hostname or template
- Certificate status and expiry
- Redirect tested (one hop to HTTPS)
- Mixed content count before and after
- Canonical, hreflang and sitemap on HTTPS
- HSTS max-age stage
- Security headers present
- Owner and date
Done when
- Every HTTP URL in the map returns one 301 or 308 straight to its HTTPS URL.
- The browser console and a crawl show no mixed content on any template.
- Canonical tags, hreflang, internal links and the sitemap list only HTTPS URLs.
- Every reason listed in the HTTPS report has a fix logged with a date.
- A header scan confirms HSTS and the agreed security headers on every template.
Measure
Check the HTTPS and Page indexing reports in Search Console weekly until indexed URLs have moved to HTTPS, which can take a few weeks for small and medium sites. Compare organic clicks with the four weeks before the move. Keep the redirects for at least a year, and set an alert well before each certificate expires. It worked when no HTTP URLs remain indexed and clicks are back to baseline.
Hypothetical example
Saltmarsh, a garden supplies shop, maps 3,200 HTTP URLs. The crawl finds mixed content on product pages from images hosted on an old HTTP server and from a review widget, so the team moves the images to the main domain and swaps the widget's script address to https. Canonicals, hreflang and the sitemap are updated, and each HTTP URL gets one 301 to HTTPS. HSTS starts at five minutes, then one week, then one month, with no broken pages found. The four headers are added, and the scan passes. After five weeks the HTTPS report shows no HTTP URLs indexed and clicks match the month before.
Common mistakes
- Chaining redirects, such as HTTP to www to HTTPS. Send every old URL to its final HTTPS address in one hop.
- Starting HSTS with a long max-age or applying for preload at once. Raise it in stages, since a long setting or a preload entry is hard to undo.
- Leaving canonicals or the sitemap on HTTP. Update them, or Google may keep indexing the HTTP version.
- Fixing mixed content in templates only. Search CMS content too, where full HTTP addresses are often stored.
- Letting a certificate lapse while HSTS is on. Automate renewal and alert the owner well before expiry, since browsers will refuse the site.
Sources
- Site moves with URL changes · Google Search Central
- Fixing mixed content · Jo-el van Bergen and Rachel Andrew
- HTTPS report · Google Search Console Help
Show all 6 sources
- HSTS Preload List Submission · Chromium HSTS preload list maintainers
- Strict-Transport-Security header · MDN Web Docs, 2026
- HTTP Security Response Headers Cheat Sheet · OWASP Cheat Sheet Series
By company stage
Apply first
Nothing. You can start here.
Use instead
- Technical SEO audit framework
You do not yet know which crawl, speed or security problems the site has. Run Technical SEO audit framework first.
- Technical SEO monitoring
The site is already on HTTPS and you need a standing watch after each release. Use Technical SEO monitoring.
- Core Web Vitals optimization
Pages load slowly or shift as they load. Use Core Web Vitals optimization.
- International SEO (hreflang)
The move is done and you serve several language or country versions. Use International SEO (hreflang) next, with every hreflang URL on HTTPS.
Where it sits
Open the seo & search marketing roadmapRecommended resources
No sponsored resources on this framework yet. Sponsored listings would be labelled here, never in search.
Progress is not saved until you have an account. Create a free account