Search engine optimisation is the work of making a website easier for search engines to discover, understand and prefer — so that people looking for what you offer find you without you paying for each visit.
That definition is short because the mechanism is not. To do SEO deliberately rather than superstitiously, you need to know what actually happens between someone typing a query and a page appearing in front of them. There are five stages, and almost every SEO problem lives in exactly one of them.
How search engines work
A search engine is a pipeline. Content enters at one end as URLs and comes out the other as an ordered list. Each stage can fail independently, and the visible symptom — your pages not appearing — is identical whichever stage failed. That is why diagnosis matters more than tactics.
Discovery
The engine learns a URL exists, from a link, an XML sitemap, or a previous crawl.
Crawling
It requests the URL and receives a response — HTML, a status code, headers.
Rendering
It executes JavaScript to produce the page a user would see. This is a separate, resource-constrained stage.
Indexing
It decides whether to store the page, and what the page is about.
Ranking
For a given query, it orders the stored pages it considers relevant.
Crawling
Crawling is the fetch. A crawler can only request URLs it knows about, and it will only request what it is permitted to request — robots.txt can disallow paths, and a server can refuse or throttle. Crawling has a budget in practice: the number of URLs an engine is willing to fetch from your site in a period.
For most sites crawl budget is not a constraint. It becomes one when a site generates far more crawlable URLs than it has content worth indexing — the classic case being e-commerce faceted navigation, where filters, sorts and session parameters multiply into hundreds of thousands of internally linked URLs.
Rendering
The response a crawler receives is not always the page a person sees. If content is fetched by JavaScript after the initial HTML loads, it exists only after rendering. Rendering happens, but it is deferred and resource-limited, which means content that depends on it may be processed late, partially, or not at all.
The practical test takes a minute: load your page with JavaScript disabled. What remains is roughly what you can rely on being indexed promptly. If the page is empty, that is a finding, not a curiosity.
Indexing
Indexing is a decision, not a formality. A crawled page can be excluded because a directive forbids it, because its own canonical points elsewhere, or — most commonly and most confusingly — because the engine judged it duplicative or not worth storing relative to what it already has. That last case is what Search Console reports as “Crawled — currently not indexed”, and it is a quality judgement rather than an error.
Ranking
Ranking orders the indexed pages an engine considers relevant to a specific query. It is query-dependent: there is no such thing as a site's ranking, only a page's position for a particular query, in a particular market, on a particular device, at a particular moment.
Search intent: the thing most SEO gets wrong
A query is not a topic, it is a goal. Someone searching “technical SEO audit” may want to learn what one is, compare providers, or buy one today. A page that answers the wrong goal will not rank however well written it is, because it does not satisfy the query.
The reliable way to determine intent is not to reason about the keyword but to look at what already ranks. The current results are the search engine's own summary of what satisfies that query. If the first page is entirely product listings, an explainer article will not displace them.
| Intent | What the person wants | What usually ranks |
|---|---|---|
| Informational | To understand something | Guides, explanations, definitions |
| Navigational | To reach a specific place | The official page for that entity |
| Commercial | To compare before deciding | Comparisons, reviews, alternatives |
| Transactional | To act now | Product, category or service pages |
The three parts of SEO work
Technical SEO
Technical SEO removes the reasons an engine would fail to reach, render, or store your content. It covers crawlability, indexability, canonicalisation, site architecture, structured data, internal linking and page performance. It rarely creates demand by itself — its job is to stop everything else from being wasted.
On-page SEO
On-page SEO is what a specific page communicates: the title, the headings, the depth and accuracy of the content, the entities it covers, and how well it matches the intent behind the query it targets. It also includes making the answer easy to extract, which increasingly matters for both featured snippets and AI-generated answers.
Off-page SEO
Off-page SEO is what the rest of the web says about you. Links from other sites remain a meaningful signal of whether a source is worth trusting, and mentions of your brand contribute to how systems resolve and describe you as an entity. It is the slowest of the three to influence and the easiest to do badly.
Internal linking
Internal links do three things at once: they let crawlers discover pages, they distribute authority between pages, and they state which pages you consider important. A page nothing links to prominently is a page your own site has declined to prioritise, and search engines read that.
A useful internal linking model follows the structure of the subject: a pillar page covering a topic broadly, supporting pages covering its parts in depth, and links running in both directions between them.
Structured data
Structured data is machine-readable markup — almost always JSON-LD following Schema.org — that states what a page's content means rather than leaving it to be inferred. It makes rich results possible, and more durably, it makes your facts unambiguous to any system that parses the page, including retrieval-based AI systems.
One rule governs its use: structured data must describe content that is actually visible on the page. Markup describing content a user cannot see is a policy violation, not an optimisation.
Measuring SEO
Google Search Console is the primary instrument, because it reports what Google itself did: which queries produced impressions, what position pages held, which URLs were indexed and which were excluded and why.
The most common measurement mistake is reading an aggregate line. Total clicks can stay flat while branded traffic grows and non-brand collapses, or while one template loses half its traffic and another absorbs it. Segment by brand and non-brand, by page group, by device and by country before drawing any conclusion.
- Impressions — how often you appeared. Falls when demand falls or eligibility is lost.
- Average position — an average across every query in the filtered set. Never read it without impressions alongside.
- Click-through rate — how compelling the result was, and how much of the SERP sat above it.
- Coverage — which URLs are indexed, and the stated reason for every exclusion.
How long SEO takes
Honestly: it depends, and the range is wide. Fixing a technical constraint on frequently-crawled pages can show movement within days. Building topical authority in a competitive category is a matter of quarters. What is reasonable to expect at the start is not a revenue forecast but a set of leading indicators — indexed coverage, impressions on target queries, position on tracked terms — that show whether the work is moving in the right direction long before it shows up in revenue.