Skip to main content

Technical SEO in 2026: A Practical Guide to Crawling, Indexing and Core Web Vitals

Quick Answer:

Technical SEO makes sure search engines can crawl, render and index your pages. It covers robots.txt and XML sitemaps, canonical tags, noindex and status codes, redirects, internal links, Core Web Vitals (LCP 2.5s or less, INP 200ms or less, CLS 0.1 or less), mobile-first indexing, HTTPS, structured data and JavaScript rendering. It can't stand in for good content.

Sachin Shakya

Mon, 17 Jun' 24

Last updated: Fri, 16 Oct' 26

SEO covers the content you publish, the links pointing at you and the technical foundation underneath. That foundation is technical SEO: the work that lets search engines find, crawl, render and index your pages without friction. It won't rank a weak page, but technical problems can stop a strong page from being seen at all.

This guide covers the fundamentals that matter in 2026, checked against Google Search Central and web.dev, including replacements for retired tools such as the Structured Data Testing Tool and the robots.txt Tester.

Technical SEO vs. SEO: What's the Difference?

Technical SEO is one part of SEO, not a different name for it. A useful way to split the work:

  • Technical SEO: can search engines access, render and understand your pages?
  • On-page and content SEO: does the page answer the searcher's question well?
  • Off-page SEO: do other sites and people reference you?

The technical layer comes first: if Googlebot can't crawl a page, or decides it's a duplicate, the writing doesn't matter.

Crawlability: Letting Search Engines In

robots.txt

A robots.txt file sits at the root of a host (for example `https://www.example.com/robots.txt`) and tells crawlers which paths they may request. Each subdomain and port needs its own file. The file must be named exactly `robots.txt` and saved as plain UTF-8 text.

User-agent: *
Disallow: /admin/
Disallow: /cart/
Allow: /admin/public-help/

Sitemap: https://www.example.com/sitemap.xml

Know what robots.txt does not do. Google says robots.txt is mainly for managing crawler traffic and is "not a mechanism for keeping a web page out of Google." A disallowed URL can still be indexed if other pages link to it. It just appears without a description. To keep a page out of search results, use `noindex` or put it behind a password.

To check your file, use the robots.txt report in Search Console, which replaced the old robots.txt Tester. It shows the files Google found for your top hosts, fetch status, last fetch date and any parsing errors, and lets you request a recrawl. It works only for domain-level properties. To check whether a specific URL is blocked, use the URL Inspection tool.

XML Sitemaps

An XML sitemap lists the canonical URLs you want indexed. Google's rules are simple:

  • A single sitemap can hold up to 50,000 URLs or 50 MB uncompressed. Split larger sites across several sitemaps and list them in a sitemap index file.
  • Use fully qualified, absolute URLs, and list only canonical URLs.
  • Keep `<lastmod>` accurate. Google uses it only when it's consistently reliable, and only for significant changes to main content, structured data or links.
  • Don't bother tuning `<priority>` or `<changefreq>`. Google ignores both.

Submit sitemaps in Search Console's Sitemaps report, add a `Sitemap:` line to robots.txt, or both. A sitemap is a hint, not a command.

Indexability: Controlling What Gets Indexed

Crawling a page is not the same as indexing it. These controls decide which URLs end up in the index.

Canonical Tags

When the same content is available at several URLs (tracking parameters, HTTP and HTTPS, trailing slashes), Google picks one as the canonical. In Google's documentation, redirects and `rel="canonical"` annotations are strong signals and sitemap inclusion is a weak one. Good practice:

  • Add a self-referencing canonical on every canonical page, using absolute URLs.
  • Don't send conflicting signals, such as one URL in the sitemap and a different one in the canonical tag.
  • Don't use robots.txt or `noindex` to choose a canonical. `noindex` removes the page from search entirely, and robots.txt stops Google from seeing your canonical tag at all.

noindex

A `noindex` rule, set either as a robots meta tag or an `X-Robots-Tag` HTTP header, tells Google to drop the page from results. Don't also block that page in robots.txt: Googlebot would never see the rule, and the URL could stay in results. Google doesn't support `noindex` inside robots.txt.

Status Codes

Google reacts to HTTP status codes in predictable ways:

  • 2xx: the content may be indexed. Indexing isn't guaranteed.
  • 3xx: Google follows up to 10 redirect hops by default and uses the final target's content.
  • 404 and 410: Google treats the page as nonexistent and drops indexed URLs over time.
  • 429 and 5xx: Google treats these as a sign of server overload and slows crawling. URLs that keep returning errors are eventually dropped.

Watch for soft 404s. These are pages that return 200 but show an error message or almost no content. Search Console flags them in the Page indexing report. If the page is really gone, return a proper 404 or 410.

Redirects

For permanent moves, use server-side 301 or 308 redirects. Google treats them as a strong signal that the target is the new canonical. Use 302 or 307 only for temporary changes. Google describes JavaScript redirects as a last resort, because it may never see them if rendering fails. Keep redirect chains short, and update internal links so they point straight at the final URL.

Site Architecture and Internal Links

Search engines discover most pages by following links, so your structure decides what gets found. Google's link guidance is clear:

  • Use real `<a>` elements with an `href` that resolves to a URL. Links made from `<span>` click handlers or `javascript:` URLs may not be crawled.
  • Every page you care about should have a link from at least one other page on your site. Orphan pages that appear only in a sitemap are easy for crawlers to miss.
  • Write descriptive anchor text that tells readers and Google what the target page is about. Avoid "click here" and keyword stuffing.

A shallow, logical hierarchy with contextual links between related pages helps users and crawlers alike.

Page Speed and Core Web Vitals

Core Web Vitals are Google's field metrics for loading, responsiveness and visual stability. The thresholds published on web.dev are:

  • Largest Contentful Paint (LCP): good at 2.5 seconds or less, poor above 4.0 seconds.
  • Interaction to Next Paint (INP): good at 200 milliseconds or less, poor above 500 milliseconds. INP is the successor to First Input Delay (FID), so ignore guides that still quote FID targets.
  • Cumulative Layout Shift (CLS): good at 0.1 or less, poor above 0.25.

Scores are measured at the 75th percentile of real page loads, separately for mobile and desktop. A page passes only if it meets all three targets.

Search Console's Core Web Vitals report uses Chrome UX Report (CrUX) field data from real users, grouping similar URLs and rating each group by its worst metric. Use lab tools to debug.

Keep this in proportion. Google says Core Web Vitals are used by its ranking systems, but good scores don't guarantee top rankings, and Google will still show the most relevant content even when its page experience is weaker. The usual fixes apply: correctly sized, compressed images, less render-blocking JavaScript and CSS, reserved space for images and embeds, caching and a CDN.

Mobile-First Indexing

Google indexes and ranks the mobile version of your content, crawled with its smartphone user agent. Responsive design largely handles this. If you serve different markup to mobile users, check that:

  • Primary content, titles, meta descriptions and structured data match across versions.
  • Robots meta tags are identical. A mobile-only `noindex` is a serious mistake.
  • Primary content doesn't load only after a swipe, click or typing, which Googlebot won't perform.
  • Resources the mobile page needs aren't blocked in robots.txt.

HTTPS

Serve every page over HTTPS, redirect HTTP to HTTPS with 301s, and fix mixed content (HTTPS pages loading HTTP resources). Google announced HTTPS as a ranking signal in 2014, and prefers HTTPS URLs as canonicals by default. Search Console's HTTPS report shows which pages aren't served securely.

Structured Data

Structured data describes a page in the schema.org vocabulary so Google can understand it and, where eligible, show rich results. Google supports JSON-LD, Microdata and RDFa, and recommends JSON-LD where your setup allows it.

json
{
  "@context": "https://schema.org",
  "@type": "Organization",
  "name": "Example Agency",
  "url": "https://www.example.com",
  "logo": "https://www.example.com/logo.png"
}

Validate with the right tools:

  • Rich Results Test: shows which Google rich results your markup can produce and previews them. Start here.
  • Schema Markup Validator (validator.schema.org): checks all schema.org markup without Google-specific warnings.
  • URL Inspection tool and rich result reports in Search Console: confirm Google found the markup and keep watching it after launch.

The Structured Data Testing Tool no longer exists; its generic checks moved to the Schema Markup Validator. Valid markup makes a page eligible for rich results but doesn't guarantee them.

JavaScript Rendering

Google processes JavaScript pages in three phases: crawling, rendering and indexing. Rendering uses a headless Chromium. Google's guidance for JavaScript-heavy sites:

  • Prefer server-side rendering or pre-rendering. They're faster, and not every crawler runs JavaScript.
  • Use the History API for routing, not URL fragments like `#/page`, and output links as `<a href>` elements.
  • Avoid soft 404s in single-page apps. Either redirect to a URL that returns a real 404, or add `noindex` with JavaScript.
  • Don't ship `noindex` in the initial HTML and then try to remove it with JavaScript. Google may skip rendering once it sees `noindex`.
  • Don't block JavaScript or CSS files in robots.txt. Google won't render code from blocked files.

Hreflang, Briefly

Hreflang tells Google which localised version of a page to show to which audience. Declare it in HTML `<link>` elements, HTTP headers or your sitemap; the methods are equivalent, so pick one. Each version must list itself and every other version, and every annotation needs a return link, or Google ignores it. Use ISO 639-1 language codes with optional ISO 3166-1 region codes (for example `en-GB`), and use `x-default` for a fallback page. Note that `UK` is not a valid region code. Use `GB`.

A Practical Technical SEO Audit Checklist

  1. Check the robots.txt report for fetch and parsing errors, and confirm no important section, script or stylesheet is disallowed.
  2. Check that your XML sitemaps list only canonical, indexable URLs that return 200, with accurate `lastmod` dates, and that they're submitted in Search Console.
  3. Review the Page indexing report for "blocked by robots.txt", "excluded by noindex", soft 404 and duplicate-canonical issues.
  4. Spot-check key templates with the URL Inspection tool, comparing rendered HTML with what users see.
  5. Verify self-referencing canonicals and that no page is both `noindex` and blocked in robots.txt.
  6. Crawl the site for redirect chains, internal links to redirected or broken URLs, and orphan pages.
  7. Check the Core Web Vitals report for mobile and desktop, then use lab tools to debug poor URL groups.
  8. Confirm mobile and desktop parity for content, metadata, structured data and robots tags.
  9. Confirm HTTPS everywhere, with HTTP-to-HTTPS 301s and no mixed content.
  10. Run key templates through the Rich Results Test and the Schema Markup Validator.
  11. If you run localised sites, validate hreflang return links and language codes.

Run it after every major release or migration. Most technical SEO regressions arrive with a deploy.

Getting Help

Most of this checklist can be done in-house with Search Console and a crawler. The fixes, such as JavaScript rendering problems, migrations or Core Web Vitals work, often touch the codebase. If you'd like a second pair of eyes, Tech Inject's digital marketing team runs technical SEO audits alongside development, so the issues found can actually be fixed.

Sources

Frequently Asked Questions

Technical SEO is the part of SEO that makes sure search engines can crawl, render and index your site. It covers robots.txt, XML sitemaps, canonical tags, status codes, redirects, internal linking, Core Web Vitals, mobile-first indexing, HTTPS, structured data and JavaScript rendering. It supports content and links but doesn't replace them.

No. robots.txt controls crawling, not indexing. A blocked URL can still be indexed if other pages link to it. To keep a page out of results, use a `noindex` meta tag or `X-Robots-Tag` header and make sure the page isn't blocked in robots.txt, so Google can actually see the rule.

According to web.dev, a good experience is LCP of 2.5 seconds or less, INP of 200 milliseconds or less and CLS of 0.1 or less, measured at the 75th percentile of real page loads on mobile and desktop. INP replaced First Input Delay as the responsiveness metric.

Use the Rich Results Test to check eligibility for Google rich results, and the Schema Markup Validator at validator.schema.org for general schema.org validation. After launch, use the URL Inspection tool and the rich result reports in Search Console.

Use the robots.txt report in Search Console. It shows the files Google fetched, their status and any parsing errors, and lets you request a recrawl. To check whether a single URL is blocked, use the URL Inspection tool. Developers can also test locally with Google's open-source robots.txt library.