Skip to content
Larkpin
SEO Basics

How Does SEO Work?

By Hitesh Lamba · Updated

The short answer

SEO works by making each stage of Google Search easier. Google crawls the web to find pages, indexes them to understand what each page is about, then ranks the best matches when someone searches. SEO helps Google find your pages, understand your services and trust your business enough to show it first.

  • The three stages every page goes through in Google
  • Why the map results follow different rules
  • Which ranking factors an owner can actually change

How does SEO work?

SEO works by making each stage of Google Search easier. Google crawls the web to find pages, indexes them to understand what each page is about, then ranks the best matches when someone searches. SEO is the work that helps Google find your pages, understand your services and trust your business enough to show it first.

Google describes the same three stages in its own guide to how Search works: crawling, indexing and serving results. Not every page makes it through all three. A page Google never finds cannot be indexed, and a page that is never indexed cannot rank. If you are brand new to the topic, our guide to what SEO is covers the basics first.

Stage 1: How does Google find your pages?

Google finds pages by crawling. A program called Googlebot visits pages it already knows and follows the links on them to new pages. Google says there is no central registry of every web page, so it has to discover them this way. Its SEO Starter Guide adds that the vast majority of new pages Google finds every day come through links.

Google can also learn about pages from a sitemap, which is a file listing the pages on your site. During crawling, Google renders the page and runs its JavaScript so it can see content that scripts load.

For a local business, crawling problems usually come from three places: a new site with no links pointing to it, a setting that blocks Google by mistake, or menus built in a way Google cannot follow. Our guide to technical SEO explains how to spot each one.

Stage 2: How does Google understand and store your pages?

After crawling a page, Google indexes it. Google reads the text, the title, the headings, the images and other key tags, then stores what it learned in the Google index, a huge database of pages.

Google also groups pages that look alike and picks one as the canonical, the version it may show in results. If your website has three near-identical pages for "AC repair," Google may pick one and set the others aside.

Google is clear that indexing is not guaranteed. Not every page it processes gets indexed. Thin pages, duplicate pages and pages with errors are the usual ones left out. If you suspect your pages are missing, read how to get Google to index your site.

Stage 3: How does Google decide who ranks first?

Google ranks pages with automated systems that weigh hundreds of factors. When someone searches, Google pulls the pages from its index that best match the search and orders them by relevance and quality.

Google says relevance can depend on things like the searcher's location, language and device. That is why "emergency dentist" shows different results in Tampa and in Phoenix, and different results on a phone and on a laptop.

A few of Google's named ranking systems matter most for local businesses:

  • Link analysis. Google says its systems study how pages link to each other to work out what pages are about and which might be most helpful. PageRank is still part of its core ranking systems, but Google calls it just one signal among many.
  • Helpful content. Since March 2024, Google's helpful content system has been part of its core ranking systems. It rewards pages written for people, not for search engines.
  • Spam detection. Google runs spam detection systems, including one called SpamBrain, that push down sites using tricks like bought links or keyword stuffing.

Google also says it does not accept payment to crawl a site more often or rank it higher. The only way up in regular results is to be the better answer.

How do local map rankings work?

Map results follow their own rules. Google says local results are based mainly on three things: relevance, distance and prominence.

Local factor What Google means What you can do about it
Relevance How well your Business Profile matches the search Pick accurate categories, list your services, complete every section
Distance How far you are from the searcher List your real service area; you cannot move your shop
Prominence How well known your business is Earn reviews and links from local websites

Google's local ranking guidance says prominence is partly based on how many websites link to your business and how many reviews you have, and that more reviews and positive ratings can help. It also says there is no way to request or pay for a better local ranking.

Where do you fit into each stage?

Each stage of SEO has parts you control and parts you do not. Here is the full picture for a typical local business.

Stage What Google does What you control Common local problem
Crawling Follows links and sitemaps to find pages Links to your site, a sitemap, no blocked pages New site with no links pointing to it
Indexing Reads and stores each page Clear, unique pages for each service Ten service pages that say the same thing
Ranking Orders pages for each search Helpful content, reviews, real local links Strong page, but almost no reviews
Local results Picks the map listings Business Profile, categories, service area Wrong primary category on the profile

What happens when you publish a new page?

Here is how the process plays out for one new page. Say a roofer in Denver adds a page for hail damage repair (an example, not a client).

  1. The roofer links to the new page from the home page and the roofing services page.
  2. Googlebot crawls the home page, finds the new link and visits the page. This can take a few days or a few weeks for a small site.
  3. Google renders the page, reads the headings and text, and checks whether it duplicates another page on the site.
  4. Google adds the page to its index if it is useful and unique.
  5. When someone near Denver searches "hail damage roof repair," Google compares this page with every other roofer's page and ranks them.
  6. Over the following weeks, reviews that mention hail repair and links from local sites can help the page climb.

Google's SEO Starter Guide says some changes show up within hours and others take several months, so it suggests waiting a few weeks before judging results.

How does SEO work with AI answers?

SEO works the same way for AI answers. Google says a page needs to be indexed and eligible to show a snippet to appear as a link in AI Overviews or AI Mode, and that there are no extra technical requirements or special schema code to add.

Google's guide to generative AI search goes further and says optimizing for it is still SEO. Clear pages, accurate business details and a solid reputation help in both places. If you want help making your business easier for AI tools to mention, see our AI search optimization service.

What parts of SEO can you not control?

You cannot control your distance from each searcher, what your competitors do, or when Google updates its systems. You also cannot buy a better spot in the regular or map results.

What you can control is plenty: whether Google can find your pages, whether those pages clearly explain your services, how many real reviews you earn and whether local websites mention you. Those are the levers Larkpin pulls in our local SEO services.

See how Google sees your business

Larkpin is a local SEO, web design and AI automation agency for US local businesses. If you want to know how SEO works for your own business today, the Free Missed-Lead Audit maps your Google rankings across your service area and checks whether AI tools mention you. You get a recorded walkthrough within 2 business days.

Questions owners ask us

How does Google decide which website ranks first?

Google uses automated ranking systems that weigh hundreds of factors. Google says these can include the searcher's location, language and device, along with how relevant and useful each page is. Links from other sites are one signal among many. No single trick decides it, and Google says it does not accept payment to rank a page higher in regular results.

Does Google need me to submit my website?

Usually not. Google says it finds most new pages by following links from pages it already knows, and that most sites only need to be published on the web. Submitting a sitemap or requesting indexing in Google Search Console can help Google find new pages faster, but neither one guarantees indexing or a better ranking.

Why does my ranking change from one town to the next?

Google tailors results to the searcher. For local searches, distance from the searcher is one of the three main factors Google names, so a plumber can rank first in one neighborhood and fifth a few miles away. That is why local SEO tracks rankings across your whole service area instead of from one spot.

How does SEO work for AI answers like Google AI Overviews?

Google says AI Overviews and AI Mode draw on pages that are already indexed and eligible to show a snippet, with no extra technical requirements. Google describes optimizing for generative AI search as still SEO. So clear, accurate pages that Google can crawl and index are the starting point for showing up in AI answers too.

Keep exploring

Free Missed-Lead Audit

Find out where your leads are slipping away.

We check three things and send you a recorded walkthrough within 2 business days. No call needed to get it.

  • Visibility: where you rank on Google Maps across your area, and whether ChatGPT and Google AI Overviews mention you
  • Response: we call and text your business after hours and record what happens
  • Reputation: your reviews, rating and review speed against your top 3 local competitors

No sales pitch required. You get a recorded walkthrough within 2 business days. See our privacy policy.

Get my free audit