SEO

How Does SEO Work? Crawl, Index, Rank, Serve

SEO works by helping a search engine through four stages: it discovers and crawls your page, renders and indexes it, ranks it against other pages when someone searches, and serves it as a result or as a source for an AI answer. So how does SEO work in practice? Each stage has a way to fail, and SEO is the work of removing those failures and giving the ranking stage good reasons to pick you.

This explainer is for owners and marketers who want the mechanism rather than a list of tips. It follows Google’s own documentation stage by stage, notes where Bing and ChatGPT differ, and ends with a table of what typically breaks at each stage. For the definition of the term itself, see what does SEO stand for.

On this page

How does SEO work step by step?

Google describes Search in three stages in its guide to how Search works: crawling, indexing, and serving search results. Discovery and rendering sit inside those stages, and it helps to pull them out, because they are where many sites quietly fail. The pipeline below shows all five steps and, underneath each one, the lever you control.

The search pipeline in five steps, with what a site owner controls at each step Five boxes left to right. Discover: links from known pages and sitemaps. Crawl: Googlebot fetches text, images and video. Render: runs JavaScript in a recent version of Chrome. Index: groups duplicates, picks a canonical, stores the page. Serve, highlighted: ranks indexed pages by hundreds of factors. Under each, what you control: internal links and a sitemap; robots.txt and a 200 status; content visible in HTML; canonical tags and unique pages; relevance, quality and reputation. From URL to result in five steps Google's crawl, index and serve stages, with discovery and rendering pulled out 1 Discover Links from known pages, sitemaps 2 Crawl Googlebot fetches text, images, video 3 Render Runs JavaScript in recent Chrome 4 Index Groups duplicates, picks a canonical, stores the page 5 Serve Ranks indexed pages by hundreds of factors What you control Internal links,XML sitemap robots.txt,HTTP 200 status Content visiblein the HTML Canonical tags,unique pages Relevance, quality,reputation

Scroll the diagram sideways to see all of it.

Source: Ambeltek diagram based on Google's in-depth guide to how Search works.

One fact frames everything else: Google says it doesn’t accept payment to crawl a site more often or to rank it higher. Every lever in the bottom row is something you earn or fix, not something you buy.

Crawling: how Google finds pages

Crawling is Google downloading your pages with an automated program called Googlebot. Before it can crawl a URL it has to know the URL exists, and Google lists three ways it finds out: it has visited the page before, it follows a link from a known page, or you submit a list of pages in a sitemap.

Links do most of the work. Google’s link best practices say it can only crawl a link if it is an <a> element with an href attribute, so menus built from buttons with click handlers can hide whole sections of a site. The same page says every page you care about should be linked from at least one other page on your site. That is the case for internal linking as a structural job, not a finishing touch.

Before crawling, Googlebot checks the site’s robots.txt file for rules, and Google’s robots.txt documentation says it generally caches that file for up to 24 hours, so a change there can take a day to register.

Sitemaps help most when a site is large, new with few external links, or heavy on video and images. Google’s sitemap overview is careful to add that a sitemap doesn’t guarantee every listed URL will be crawled and indexed. Our XML sitemap guide covers the format.

Rendering and indexing: how Google stores pages

After fetching a page, Google renders it and runs any JavaScript it finds using a recent version of Chrome, much like a browser. Content that only appears after user interaction, or that fails to load for a bot, may never be seen. Our guide to JavaScript rendering and AI crawlers covers why many AI crawlers are less patient than Googlebot here.

Indexing is where Google analyzes the text, images and video on the page and stores what it learns in the Google index, a large database hosted on thousands of computers. Two things happen in this step that trip sites up:

  • Canonical selection. Google groups pages with similar content and picks the most representative one to show. If you publish several near-identical pages, Google chooses which one counts, and it may not be the one you want. See canonical tags.
  • Eligibility. Google’s technical requirements are minimal: Googlebot isn’t blocked, the page returns HTTP 200, and it has indexable content. Google states plainly that meeting them doesn’t mean a page will be indexed. Indexing is a decision, not an entitlement.

Ranking: how Google orders results

When someone searches, Google pulls matching pages from the index and orders them. Its documentation says relevance is determined by hundreds of factors, which could include the user’s location, language and device. The ranking systems guide names the systems that do this work, and grouping them by job makes the list readable. The map below does that.

Google's named ranking systems grouped by what they do Four columns. Understanding the query: BERT, RankBrain, neural matching, MUM. Judging the page: passage ranking, original content, reviews system, reliable information, freshness. Links and context, highlighted: link analysis and PageRank, local news, crisis information. Filters and demotions: spam detection, deduplication, exact match domain, removal-based demotion, site diversity. Footer: listed as retired, the helpful content system, Hummingbird, Panda and Penguin. Google's named ranking systems, grouped by job From Google's guide to Search ranking systems Understanding the query BERTRankBrainNeural matchingMUM Judging the page Passage rankingOriginal contentReviews systemReliable informationFreshness Links and context Link analysis andPageRankLocal newsCrisis information Filters and demotions Spam detectionDeduplicationExact match domainRemoval-based demotionSite diversity Listed as retired: the helpful content system, Hummingbird, Panda and Penguin.

Scroll the diagram sideways to see all of it.

Source: Ambeltek diagram based on Google's guide to Search ranking systems.

Three practical readings of that list:

  1. Query understanding does a lot of the matching. BERT, RankBrain and neural matching connect a query to pages that use different words for the same idea, so repeating an exact phrase matters less than covering the topic clearly.
  2. Links still count. Google calls PageRank one of its core ranking systems used since launch. That is the foundation of backlinks as a lever.
  3. Page experience helps at the margin. Google’s page experience documentation says Core Web Vitals are used by its ranking systems, but that good scores don’t guarantee a top ranking and that Google will still show the most relevant content even when page experience is sub-par. The Web Vitals thresholds for “good” are a largest content load within 2.5 seconds and an interaction response of 200 ms or less.

What Google does not publish is the weight of each factor. Our breakdown of SEO ranking factors separates what Google confirms from what the 2024 documentation leak shows it merely stores.

Does Bing work the same way?

Mostly, and it is more explicit about its factors. Microsoft’s page on how Bing delivers search results lists six: relevance, quality and credibility, user engagement, freshness, location and language, and page load time. A few details are worth knowing because they differ in tone from Google’s documentation:

  • Relevance includes link text. Bing matches terms on the page and phrases used in links pointing to it, plus synonyms and abbreviations.
  • Reputation is partly about who links to you. Bing’s quality and credibility factor asks what types of other websites link to the site, and says a well-known news site has a higher reputation than a brand-new blog.
  • Engagement is named openly. Bing says it looks at whether users clicked a result, whether they spent time on it or quickly returned, and whether they reformulated the query.
  • Originality counts. Bing asks whether a site reports first-hand information or republishes others’ content, and whether it attributes sources.

Bing matters beyond its own search share because other products draw on its index, including Microsoft Copilot. A site that is poorly indexed in Bing is invisible to every product downstream of it. Our Bing SEO guide covers Bing Webmaster Tools and the ways to notify Bing quickly when URLs change, which its guidelines recommend.

How do AI answers reuse the same index?

AI search features sit on top of the same crawl and index, and add one step: the system runs several searches of its own before writing. Google’s documentation on AI features calls this query fan-out, issuing multiple related searches across subtopics to develop a response and find supporting pages. The flow below shows where your page enters.

How AI answers retrieve pages from search indexes before writing Four steps. Question: a user asks a conversational question. Query fan-out: the system runs several related searches by subtopic. Index lookup: only indexed pages eligible for a snippet can be used. Answer with links, highlighted: a summary citing the pages it relied on. Below, which index each assistant uses: Google AI Overviews and AI Mode use Google's index with no extra requirements; ChatGPT search needs OAI-SearchBot to be allowed; Bing Copilot grounds answers in the Bing index. An AI answer is a search, several times over Your page has to pass the same crawl and index gates before it can be cited Question A user asks a conversational question Query fan-out Several related searches, one per subtopic Index lookup Only indexed pages, eligible for a snippet, qualify Answer + links A summary citing the pages it relied on Google AI Overviews, AI ModeGoogle's index; no additional requirements beyond Search ChatGPT searchNeeds OAI-SearchBot allowed in robots.txt Microsoft CopilotGrounded in the Bing index; SEO fundamentals apply

Scroll the diagram sideways to see all of it.

Source: Ambeltek diagram based on Google's AI features documentation, OpenAI's publisher FAQ and Bing Webmaster Guidelines.

Google states there are no additional requirements to appear in AI Overviews or AI Mode, but a page must be indexed and eligible to show with a snippet. OpenAI’s publisher FAQ says that for content to appear in ChatGPT search summaries, sites must not block OAI-SearchBot. Microsoft’s Bing Webmaster Guidelines open with the heading “SEO Fundamentals Still Apply to Grounding and AI Experiences”.

The difference is at the end of the pipeline, and it shows in clicks. In Pew Research Center’s March 2025 study, Google users who saw an AI summary clicked a traditional result in 8% of visits, against 15% when no summary appeared. A ranking picks one page per slot; an AI answer picks passages from several pages and may name a brand without linking to it. That is why the extra work for AI visibility is about extractable answers and consistent mentions, covered in how AI engines choose citations.

Where each stage of SEO breaks

Most SEO problems are a failure at one specific stage, and naming the stage points to the fix:

StageTypical failureWhere you see itFix
DiscoverPage has no internal links (orphan)Crawler finds it only in the sitemapLink it from a relevant hub page
CrawlBlocked in robots.txt or returns an errorSearch Console page indexing reportUnblock, return HTTP 200
RenderMain content loads only via JavaScriptView source shows an empty shellServer-render the core content
IndexDuplicate pages, wrong canonical chosen“Duplicate, Google chose different canonical”Consolidate pages, set canonicals
RankPage answers the wrong intentImpressions without clicks, page twoRewrite for the searcher’s actual task
Serve (AI)Answer buried mid-page, brand rarely mentionedAssistants cite competitorsAnswer-first sections, earn mentions

Can I do SEO on my own?

Yes, for most small sites. Google’s SEO Starter Guide is written for owners, and it says there’s no magical word count and no secret that ranks a site first. It also sets expectations: some changes take effect in a few hours, others take several months, and you should wait a few weeks before judging a change. New pages take longest: in Ahrefs’ ranking study, only 1.74% of newly published pages reached the top 10 within a year, and the average #1 result was 5 years old.

A realistic do-it-yourself loop:

  1. Verify your site in Search Console and read the page indexing report.
  2. Fix pages that are blocked, erroring or duplicated.
  3. Rewrite titles and opening paragraphs on your most important pages so they say plainly what the page offers.
  4. Link related pages together with descriptive anchor text.
  5. Ask customers for reviews and get listed where your industry is listed.

Specialist help earns its fee on rendering problems, large sites, and competitive markets where reputation decides the order.

Making SEO work for your site

SEO works when every stage passes: the page is found, fetched, understood, trusted, and then chosen. The order matters for diagnosis. A page that is not indexed cannot be fixed with better copy, and a page that ranks on page two for the wrong intent will not be saved by more links. Work down the pipeline until you find the first stage that fails.

If you want that diagnosis done for you, with AI answers checked alongside rankings, our AI SEO service starts from exactly this pipeline.

Frequently asked questions

How does SEO work step by step?

A search engine discovers a URL through links or a sitemap, crawls it, renders it, analyzes and stores it in its index, then ranks it against other indexed pages when someone searches. SEO work improves each step: making pages discoverable, crawlable, understandable, and worth ranking.

Can I do SEO on my own?

Yes. Google's own SEO Starter Guide is written for site owners without specialist knowledge. Most early wins come from fixing indexing problems in Search Console, writing clear titles and pages that answer customer questions, and linking related pages together. Help becomes useful for technical rendering problems and competitive link building.

How long does SEO take to work?

Google says some changes take effect in a few hours and others take several months, and suggests waiting a few weeks before judging a change. New sites and competitive topics usually take longer, because rankings depend on reputation that builds over time.

Do AI assistants use SEO?

Largely, yes. Google says pages must be indexed and eligible for a snippet to appear as supporting links in AI Overviews or AI Mode. ChatGPT search needs its OAI-SearchBot crawler to be allowed, and Bing says SEO fundamentals apply to its AI grounding. The retrieval step reuses search indexes.

Can you pay Google to rank higher?

No. Google states it doesn't accept payment to crawl a site more frequently or rank it higher in organic results. Payment buys ad placements, which are labeled as sponsored and sit apart from organic rankings.

What is the 80/20 rule for SEO?

It is a rule of thumb, not a Google concept: a small share of pages and fixes usually produces most of the results. In practice that means fixing indexing problems and improving the handful of pages that already earn impressions before writing large amounts of new content.

OK

Olga Kunger

Founder & Lead Strategist, Ambeltek

Olga leads Ambeltek's web development, AI SEO, and GEO work — helping brands rank on Google and get cited by AI engines. More about Olga →

Want this done for your site?

AI SEO programs that rank on Google and earn AI citations. Growth tier from $9k, fixed scope before work starts.