How search engines work
Google works in three stages, crawling, indexing and serving. Most SEO problems can be traced to one of them.
- Time
- 15 min
- Level
- beginner
- Reviewed
- 5 November 2026
After this lesson you can
- Describe crawling, indexing and serving.
- Explain how Google discovers new URLs.
- Diagnose which stage a missing page is stuck in.
Google describes its work in three stages. Not every page reaches every stage.
Stage 1
Crawling
Googlebot discovers URLs through links and sitemaps, downloads them and renders JavaScript.
Stops here if: robots.txt rules, logins, server errors, no links to the page
Stage 2
Indexing
Google analyses the content, groups duplicates, picks a canonical URL and stores the page.
Stops here if: Non-200 status, noindex, duplicates, low-quality content
Stage 3
Serving
For each search, Google orders the indexed pages by relevance and usefulness to that searcher.
Stops here if: Weaker relevance or quality than competing pages
1. Crawling: finding pages
There is no central list of every web page. Google's crawler, Googlebot, discovers URLs mainly by following links from pages it already knows, and from sitemaps that site owners submit.
When Googlebot fetches a page, it also renders it with a recent version of Chrome, which means it runs the JavaScript. Rendering takes resources and can fail, so content that only appears after complex scripts run is a common source of problems.
What blocks crawling:
- A rule in
robots.txtthat disallows the URL. - Pages behind a login.
- Server errors or very slow responses, which make Googlebot crawl less.
- No links pointing to the page. These are called orphan pages.
2. Indexing: understanding pages
After crawling, Google analyses the page's text, images, video and key tags, such as the <title> element and alt attributes. It stores what it learns in the Google index.
During indexing Google also decides whether the page is a duplicate. When several URLs show the same or very similar content, Google groups them and picks one canonical URL to represent the group.
What prevents indexing:
- The page does not return HTTP status 200. Google's technical requirements say error pages are not indexed.
- A
noindexrule in a meta tag or HTTP header. - Content Google judges low quality, or a page that is mostly a duplicate.
Indexing is not guaranteed even when nothing is blocking it.
3. Serving: showing results
When someone searches, Google looks up matching pages in its index and orders them by what it considers most relevant and useful. Hundreds of factors play a part. Some, such as the searcher's location, language and device, come from the person searching rather than from your page.
Diagnosing a missing page
When a page does not show up in search, work through the stages in order:
- Can it be crawled? Check
robots.txt, whether links to it exist, and whether the server responds. - Is it indexed? Use Search Console's URL Inspection tool, which you will set up in a later lesson.
- Does it rank for anything? If it is indexed but gets no impressions, the problem is relevance or competition, not access.
This order saves a lot of time. There is no point rewriting a page's content if Google has never been allowed to crawl it.
Practice
Read the lesson, pass the quiz and do the exercise to complete it.
Knowledge check
5 questions. Get at least 4 right to pass.
Exercise: Trace how Google can reach three pages
Pick three important pages on your site. For each one, find where Google could discover it (which pages link to it, and whether it is in the sitemap). Then open yoursite/robots.txt and check whether any rule blocks those pages.
Deliverable: A table with each page, the pages linking to it, whether it is in the sitemap, and any robots.txt rule affecting it.
Sources
Checked against these sources on 5 November 2026. Next review by 5 May 2027.
- In-depth guide to how Google Search works (Google Search Central, official)
- Google Search technical requirements (Google Search Central, official)
- Introduction to robots.txt (Google Search Central, official)
- Block Search indexing with noindex (Google Search Central, official)