⚙️ Technical SEO · Beginner · 18 min

Technical SEO basics: how Google crawls your site (and how to make it crawlable)

Before a page can rank, a search engine has to do three things in order: discover it (crawling), process it (rendering), and store it (indexing). If any step breaks, no amount of great content or keyword research will help, because the page simply will not appear in search. Technical SEO is the discipline of removing those obstacles so that machines can reach, read, and understand every page you care about.

Key takeaways
  • Crawling, rendering, and indexing are three separate steps; a page must clear all three to rank, so always diagnose which one is failing first.
  • Google discovers pages mainly through internal links and your XML sitemap; internal links are superior for discovery and authority, so avoid orphaned pages.
  • robots.txt controls crawling, not indexing; never block CSS or JavaScript Google needs to render, and never pair it with noindex on the same URL.
  • Put critical content, links, canonical, and meta tags in the initial HTML; in 2026 Googlebot reads only the first 2MB per page and most AI crawlers do not run JavaScript at all.
  • Google Search Console's URL Inspection and Pages reports are your main diagnostics; check them weekly and request indexing after fixes.
  • GEO sits on the same foundation: server-side render your pages, verify your site in Bing (which powers ChatGPT Search), and allow the AI retrieval bots so engines can cite you.

Crawling, rendering, indexing: three different things

Crawling is when Googlebot, Google's automated crawler, fetches a page. Rendering is when Google runs the page in a headless browser to execute its JavaScript and see the final content, the way a visitor would. Indexing is when Google analyzes that rendered page and decides whether to store it in its index, the giant database it searches when someone types a query.

These steps are separate, and a page can pass one but fail another. A page can be crawled but not indexed (for example if it is low quality or marked noindex), and it must be both crawlable and indexable to show up in results. Working out which step is failing is one of the most useful skills in technical SEO, because the fix for a crawling problem (a robots.txt block, a broken link) is completely different from the fix for an indexing problem (thin content, a stray noindex tag, a wrong canonical).

A simple mental model helps: think of it as a relay. The crawler is the runner who has to find the track. The renderer is the runner who actually runs the lap. The indexer is the judge who decides whether the race counts. A page only ranks if all three hand off cleanly. Throughout this guide, when you hit a problem, your first question should be: which baton is being dropped?

How Google discovers your pages

Googlebot starts from pages it already knows about, usually from your XML sitemap or previous crawls, and then follows the internal links it finds to discover new pages. That makes internal linking more than an on-page tactic. It is the primary path Google uses to find your content. A page with no internal links pointing to it (an orphaned page) may never be discovered at all, no matter how good it is.

Be precise about the relationship between internal links and sitemaps, because beginners often treat the sitemap as a substitute for good architecture. It is not. Internal links are structurally superior for discovery. Googlebot follows them in real time during active crawls and uses them to pass authority (PageRank) between pages. A sitemap speeds up discovery for pages that lack internal link equity, such as brand-new content, paginated archives, or unavoidable orphans, but it does not replace a strong internal linking structure. Use both, and lean on links for the pages that matter most.

An XML sitemap is a file listing the URLs you want crawled. Best practice in 2026: include only canonical URLs that return a 200 status code, keep the lastmod dates accurate because Google and AI bots use them as a freshness signal, and for larger sites split the sitemap by content type (products, articles, categories) so coverage reports are easier to read. A single sitemap file is capped at 50,000 URLs or 50MB uncompressed. Beyond that, use a sitemap index that points to multiple child sitemaps. Submit the sitemap in Google Search Console and reference it on the last line of your robots.txt so every crawler can find it.

Controlling crawlers with robots.txt

The robots.txt file sits at the root of your domain (yoursite.com/robots.txt) and tells bots which areas they may or may not crawl, using Disallow and Allow directives grouped under a User-agent line. The key point: it controls crawling, not indexing. A page blocked in robots.txt can still appear in Google's results if other pages link to it, just without a useful description (you will see the dreaded "No information is available for this page"). If you want a page kept out of the index, use a noindex tag instead and leave the page crawlable so Google can see that tag.

Use robots.txt to keep crawlers out of low-value areas where they would waste effort: internal search results pages, admin and login areas, cart and checkout URLs, and the infinite duplicate URLs generated by faceted navigation (filters and sort parameters). A clean starter file looks like this:

  • User-agent: *
  • Disallow: /search
  • Disallow: /cart
  • Disallow: /admin
  • Allow: /
  • Sitemap: https://yoursite.com/sitemap.xml

Two mistakes here are genuinely costly. The first is accidentally disallowing your whole site with Disallow: / (this happens most often when a staging block survives a launch, deindexing the entire site overnight). The second is blocking CSS and JavaScript files Google needs to render the page; if Googlebot cannot load your stylesheet or scripts, it may render a broken, contentless version of your page. Always test changes with the robots.txt report in Search Console before you ship them, and never disallow folders like /wp-includes/, /assets/, or /static/ that hold rendering resources.

Robots.txt and AI crawlers in 2026

The same robots.txt file now governs a growing population of AI crawlers, and 2026 is the year this turned into a real budget and strategy decision rather than a curiosity. Cloudflare data covering May 2024 to May 2025 showed Googlebot traffic up 96% and GPTBot up 305%, and some enterprise sites report AI crawlers consuming up to 40% of total crawl activity. That is server capacity being spent by bots, so decide deliberately which ones you welcome.

The key distinction is between two types of AI bot, because they serve very different purposes. Training crawlers (GPTBot, ClaudeBot, CCBot, Meta-ExternalAgent) collect content to train models and generally send you no referral traffic. Retrieval crawlers (OAI-SearchBot, ChatGPT-User, PerplexityBot, Claude-Web) fetch pages in real time to answer a user's live question, and these are the bots that can cite you and send a click. A common 2026 strategy is to allow retrieval bots (so you stay citable in AI answers) while deciding case by case on training bots based on your content's value and your server load.

A practical way to make this decision with data: pull the last 30 days of server access logs, group requests by user-agent, and compare how many come from training bots versus retrieval bots. If training bots outnumber retrieval bots by 5:1 or worse, you are largely subsidizing model training with your bandwidth for little return, and tightening their access is reasonable. Remember that robots.txt is an honor system. Well-behaved bots from major AI companies respect it, but if you need to enforce blocks against bad actors you will need server-level or firewall rules.

How rendering and JavaScript affect what gets seen

Google processes pages in two waves. In the first wave it crawls the raw HTML; in the second wave its Web Rendering Service loads the page in a headless Chromium browser and runs the JavaScript to see the final content. The catch is that the gap between the two waves can range from hours to weeks depending on crawl demand and how heavy your page is. Anything that only appears after JavaScript runs (text, links, structured data) is invisible to Google until that second wave happens.

The practical rule that follows is the one to remember from this section: put critical content and links in the initial HTML. If your main copy, your navigation, your internal links, and your canonical and meta tags are present in the server response before any JavaScript runs, Google sees them immediately and reliably. If they are injected client-side, you are betting on the second rendering wave arriving promptly and succeeding, which is a weaker position. That is why server-side rendering (SSR) or static generation is strongly preferred for content that needs to rank.

For AI engines the stakes are higher, because most of them do not render JavaScript at all. ChatGPT, Perplexity, Claude, and most other AI systems fetch the raw HTML and stop there; they read your scripts as text but do not execute them. This means a client-rendered single-page app that Google can eventually index may be completely invisible to AI answers. If being cited by AI matters to you (and in 2026 it should), server-side rendering is no longer optional. A quick test: disable JavaScript in your browser and reload a key page. Whatever remains is roughly what an AI crawler sees.

Crawl budget and the 2026 file-size change

Crawl budget is the number of URLs Google will crawl on your site in a given period. It combines crawl rate limit (how much your server can handle without slowing down) and crawl demand (how important and fresh Google thinks your content is). For small and mid-size sites it is rarely a concern: if you have a few hundred or even a few thousand clean URLs, Google will crawl them fine. The conversation only becomes urgent for large sites with tens or hundreds of thousands of URLs, where Googlebot's attention is a genuinely scarce resource.

Protect your budget with a few durable habits: fix broken links and redirect chains (each hop wastes a fetch), remove or consolidate thin and duplicate pages, block infinite faceted-navigation URLs, keep a fast and stable server, and make sure your most important pages are close to the homepage in click depth. The goal is simple: make sure Googlebot spends its limited fetches on pages that earn rankings, not on dead ends, duplicates, and parameter soup.

The big 2026 change to know: in January 2026 Google clarified that Googlebot fetches only the first 2MB of HTML per URL (down from a previously documented 15MB). It does not reject a larger page; it stops reading at the 2MB mark, so anything after that (late-loading content, structured data, even meta tags pushed far down the source) may never be fetched, rendered, or indexed. For the vast majority of sites this is a non-issue, since 2MB of HTML is enormous, but the median mobile page already weighs around 2.3MB once everything is counted, so bloated templates can genuinely cross the line. The fix is to keep pages lean and put critical markup high in the source.

Google paired that clarification with a broader message worth internalizing: infrastructure speed now matters more than raw site size. The old folk rule that crawl budget only concerns sites over a million pages has been replaced by a focus on how fast your server responds to each request. A slow or flaky backend throttles crawling regardless of how many pages you have, while a fast one lets Googlebot crawl deeper and more often. Treat server response time as a first-class SEO metric, not just a performance nicety.

Making sure pages get indexed

Once a page is crawled and rendered, a handful of signals decide whether it gets indexed. A noindex meta tag (or X-Robots-Tag HTTP header) tells Google to keep the page out of the index, so make sure your important pages do not carry it by accident. An inherited CMS setting or a leftover staging configuration is the usual culprit. The rel=canonical tag tells Google which version of similar or duplicate pages is the master copy. Point it at the URL you actually want to rank, make it self-referencing on unique pages, and keep it in the raw HTML rather than injecting it with JavaScript.

A subtle but common conflict to avoid: do not combine noindex with a robots.txt Disallow on the same URL. If you block the page in robots.txt, Google never crawls it and therefore never sees the noindex tag, so the page can still get indexed as a bare URL. The correct pattern to remove a page from the index is to leave it crawlable and let Google read the noindex; once it has dropped out of the index, you can block it in robots.txt if you also want to save crawl budget.

To get a new page indexed quickly, give it everything it needs to clear all three steps at once: link to it from an existing page that already ranks (so it is discoverable and inherits some authority), make sure it returns a 200 status, give it a self-referencing canonical and no noindex, put the real content in the initial HTML, and list it in your sitemap. Then use the URL Inspection tool to request indexing. Skipping the internal link is the most common reason a freshly published page sits undiscovered for weeks.

Diagnosing problems with Google Search Console

Google Search Console (GSC) is free, and it is the most important tool for the entire crawl-render-index pipeline because it shows you Google's actual view of your site rather than your assumptions about it. Two reports do most of the work. The URL Inspection tool checks any single page: it tells you whether the page is indexed, how it was discovered, when it was last crawled, which URL Google chose as canonical, and lets you view the rendered HTML and a screenshot of how Google saw the page. Use it to answer the question "why isn't this specific page showing up?"

The Pages report (also called Index Coverage) zooms out to the whole site and groups your URLs into Indexed and Not indexed, with a reason attached to each excluded group. Learn to read the common reasons: "Crawled - currently not indexed" usually points to quality or duplication; "Discovered - currently not indexed" often signals crawl budget or server-speed limits; "Excluded by noindex tag" and "Blocked by robots.txt" are configuration issues; "Alternate page with proper canonical tag" is normal and expected. The Crawl Stats report (under Settings) goes deeper, showing crawl volume over time, average server response time, and the breakdown of response codes Googlebot received.

A weekly habit beats any one-off audit: open the Pages report, watch the Indexed line for sudden drops (a drop is your early warning for an accidental noindex or robots block), skim the top exclusion reasons for anything that looks wrong, and spot-check one or two important URLs with URL Inspection. For a site-wide technical audit beyond what GSC surfaces, a dedicated crawler like Screaming Frog, Sitebulb, or the crawl modules in Semrush and Ahrefs will simulate Googlebot across every URL and flag broken links, redirect chains, orphan pages, and missing canonicals in one pass.

A step-by-step crawlability audit you can run today

Here is a concrete sequence that takes a couple of hours and catches the great majority of crawl and index problems. Work through it in order, because each step assumes the previous one passed.

  1. Open yoursite.com/robots.txt and confirm there is no stray Disallow: / and no block on CSS, JS, or image folders.
  2. Open yoursite.com/sitemap.xml (or check robots.txt for its location) and confirm it loads, lists your real canonical URLs, and is not full of redirects or 404s.
  3. In Search Console, open the Pages report and note your Indexed count and the top Not indexed reasons.
  4. Run URL Inspection on your homepage and three or four key pages; confirm each is "URL is on Google" with the canonical you expect.

Continue with the deeper checks, which usually need a crawler tool:

  1. Run a full crawl with Screaming Frog or Sitebulb and look at four things: response codes (hunt down 4xx and 5xx), redirect chains (collapse them to a single hop), pages with noindex (make sure none are important), and canonical tags (make sure they point where you intend).
  2. Find orphan pages by comparing the URLs in your sitemap against the URLs your crawler reached by following links; anything in the sitemap but not reachable by link is orphaned and needs an internal link.
  3. Disable JavaScript and reload your top pages to see what survives without rendering, which approximates the AI-crawler view.
  4. Check page weight on a few template types and confirm none balloon toward the 2MB HTML limit.

Turn findings into a prioritized list. Fix anything that blocks indexing of money pages first (accidental noindex, robots blocks, broken canonicals on key URLs), then discovery problems (orphan pages, broken internal links), then efficiency problems (redirect chains, bloated templates, crawl waste from faceted URLs). Re-run URL Inspection on the pages you fixed and request indexing so Google revisits them sooner rather than waiting for the next natural crawl.

Common crawlability mistakes to avoid

Most lost rankings from technical issues trace back to a short list of repeat offenders. The headline mistakes:

  • Disallow: / left over from staging, deindexing the whole site.
  • Blocking CSS or JS in robots.txt, so Google renders a broken page.
  • A noindex tag inherited from a CMS template or theme setting and silently applied to pages you want indexed.
  • Combining noindex and robots Disallow on the same URL, so Google never sees the noindex.
  • Canonical tags injected by JavaScript or pointing to the wrong URL (often the homepage for every page).

The next tier is about wasted crawl and broken discovery:

  • Faceted navigation generating thousands of parameter URLs that drain crawl budget.
  • Long redirect chains (A to B to C to D) where each hop costs a fetch and dilutes signals.
  • Orphan pages with no internal links, invisible to link-based discovery.
  • Internal links built as JavaScript onclick handlers instead of real anchor tags, which crawlers may not follow.
  • Soft 404s, where a missing page returns a 200 status with a "not found" message, confusing Google about what is real.

The unifying theme is that crawlers reward clarity and punish ambiguity. Every page should return one honest status code, declare one clear canonical, carry the index/noindex signal you actually intend, and be reachable through a plain HTML link from somewhere relevant. When you are unsure whether something is a problem, ask how a simple bot that does not run JavaScript and does not guess your intent would interpret the page. That perspective catches most mistakes before they cost you traffic.

Crawlability for AI search (the 2026 GEO angle)

Generative Engine Optimization (GEO) is the work of getting cited by AI answer engines: ChatGPT, Perplexity, Google AI Overviews, Gemini, and Claude. GEO is not a separate discipline bolted onto SEO. It sits on the same crawl-render-index foundation. If an AI engine cannot crawl and parse your page, it cannot cite you, period. So everything in this guide is also GEO groundwork. The catch is that AI crawlers are less forgiving than Googlebot, so the bar for clean technical hygiene is higher.

A few concrete differences shape your priorities. First, most AI crawlers do not render JavaScript, so server-side rendering moves from best practice to requirement. If your content only appears after a script runs, AI engines see an empty shell. Second, the engines do not share one index: Perplexity runs its own crawler and indexes, while ChatGPT Search leans heavily on Bing's web index, so a site that ranks well on Bing tends to surface in ChatGPT. Verify your site is in Bing Webmaster Tools, not just Google Search Console. Third, allow the retrieval bots (OAI-SearchBot, PerplexityBot, ChatGPT-User, Claude-Web) in robots.txt, because blocking them removes you from the live answers that drive AI referral traffic.

Some teams are also experimenting with llms.txt, a proposed file at the root of the domain offering AI agents a clean, plain-text map of your most important content and summaries, stripped of navigation and UI clutter. It is an emerging convention rather than an official standard honored by all engines in 2026, so treat it as a low-cost bet, not a substitute for fundamentals. The reliable wins remain the same: render content server-side, keep critical information in clean HTML high in the source, maintain accurate lastmod dates as a freshness signal, and make sure every page you want cited is fast, reachable by link, and unblocked for the retrieval crawlers.

Perguntas frequentes

What is the difference between crawling and indexing?

Crawling is Google fetching a page; indexing is Google deciding to store it in its searchable database. A page can be crawled without being indexed, for example if it is low quality, duplicate, or carries a noindex tag. Both must succeed (along with rendering in between) before a page can rank.

Should I worry about crawl budget for a small website?

Usually not. Crawl budget mainly matters for large sites with tens of thousands of URLs. For a small site, focus on solid internal linking, a clean sitemap, fast server response, and avoiding accidental noindex or robots.txt blocks, and Google will crawl you fine. In 2026 Google has stressed that server speed matters more than page count, so a fast, stable site is the real lever.

Why is my page crawled but not indexed?

"Crawled - currently not indexed" in Search Console usually points to a quality or duplication issue: the content may be thin, too similar to another page, or judged not valuable enough to store. Check for a near-duplicate elsewhere on the site, strengthen and differentiate the content, add internal links from relevant pages, and confirm there is no stray noindex or a canonical pointing away from the page.

Does blocking a page in robots.txt remove it from Google?

No. robots.txt stops crawling, not indexing. A blocked page can still appear in results as a bare URL if other pages link to it, just without a description. To remove a page from the index, leave it crawlable and add a noindex tag so Google can read it; once it has dropped out, you can block it in robots.txt to save crawl budget if you wish.

Do AI search engines like ChatGPT and Perplexity crawl my site the same way Google does?

Not quite. Most AI crawlers fetch the raw HTML and do not execute JavaScript, so client-rendered content that Google can eventually index may be invisible to them. They also use different indexes: Perplexity runs its own, while ChatGPT Search relies heavily on Bing. To be citable, server-side render your content, verify your site in Bing Webmaster Tools, and allow the retrieval bots (OAI-SearchBot, PerplexityBot, ChatGPT-User, Claude-Web) in robots.txt.

What is the 2MB crawl limit and does it affect me?

In January 2026 Google clarified that Googlebot fetches only the first 2MB of HTML per URL, down from a documented 15MB. It does not reject larger pages; it stops reading at 2MB, so any content, structured data, or meta tags after that point are ignored. For most sites this is harmless because 2MB of HTML is huge, but bloated templates can cross it. Keep pages lean and put critical markup high in the source to stay safe.

Recommended tools