On-Page SEO: A Complete Guide
On-page SEO is the practice of optimising individual pages so that search engines understand what they are about and searchers find them useful. It covers everything you control on the page itself:
- the content
- the title and meta description
- headings
- internal links
- images
- URLs
- structured data
This guide explains:
- how on-page SEO differs from technical and off-page SEO
- how to match search intent
- how to write titles, descriptions and headings that work
- what Google says about content quality
- how to optimise links, images and URLs
- which popular on-page “rules” Google says don’t matter
On-page SEO checklist
Twelve checks for every page you publish
- One clear search intentThe page answers one main question or task, and no other page on the site targets the same one.
- Unique, descriptive titleConcise, specific to the page, no keyword stuffing, brand name kept short.
- Helpful meta descriptionA unique summary of what the reader gets; Google may use it as the snippet.
- One prominent main headingThe H1 matches the title’s topic and stands out as the main title.
- Logical subheadingsH2s and H3s break the page into scannable sections that answer real questions.
- Answer firstEach section starts with the direct answer, then adds detail and context.
- Original, accurate contentFirst-hand knowledge, current facts, clear sources, no rehashing.
- Natural keyword useThe terms readers use, written naturally; variations are fine, repetition isn’t.
- Descriptive internal linksLinks to and from related pages, with anchor text that makes sense on its own.
- Optimised imagesRelevant, sharp images near related text, with descriptive alt text and sensible file sizes.
- Readable URLShort, descriptive words rather than random IDs.
- Visible author and dateWho wrote it, why they’re qualified, and when it was last updated.
Based on Google Search Central’s SEO Starter Guide and appearance documentation, checked October 2026.
What is on-page SEO?
On-page SEO, sometimes called on-site SEO, is the work of making each page as clear, relevant and useful as possible for the searches it targets. It focuses on the page as a reader experiences it and as a search engine processes it.
On-page SEO is one of the four pillars of search engine optimisation:
| Pillar | Focus | Typical work |
|---|---|---|
| On-page SEO | The page itself | Intent, titles, headings, content, internal links, images |
| Technical SEO | The site’s infrastructure | Crawling, indexing, speed, HTTPS, canonicals |
| Content | Quality and usefulness | Original information, expertise, accuracy |
| Off-page SEO | Signals from other sites | Backlinks, digital PR, brand mentions |
The boundaries overlap. Content quality is both an on-page concern and a pillar of its own, and internal links sit between on-page and technical SEO. The practical difference is that on-page SEO is decided page by page, by the people who write and edit the content.
Why does on-page SEO matter?
On-page SEO matters because it is how a page tells searchers and search engines what it offers. Google’s SEO Starter Guide states that creating compelling, useful content will likely influence a site’s presence in search results more than any other suggestion in the guide.
The main benefits are:
- Relevance. Clear titles, headings and content help Google understand which searches a page answers.
- Clicks. Good title links and snippets help searchers choose your result over others.
- Engagement. Well-structured, helpful pages keep readers on the page and lead them to related content.
- Full control. Unlike links from other sites, every on-page element is yours to change.
- A foundation for links. Pages that are genuinely useful attract and justify the links that point to them.
How does on-page SEO differ from off-page SEO?
On-page SEO covers what you control on your own pages. Off-page SEO covers signals from elsewhere on the web, mainly links from other sites.
| Factor | On-page SEO | Off-page SEO |
|---|---|---|
| Where it happens | On your own pages | On other websites |
| Control | Full | Partial: you can earn or place links, not dictate them |
| Main elements | Content, titles, headings, internal links, images | Backlinks, mentions, digital PR |
| Main question | Does the page answer the search well? | Do other sites trust and reference it? |
| Typical first step | Improve existing pages | Earn or place relevant links |
The two work together. Links help Google discover pages and are one signal of trust, but they bring little benefit to pages that don’t satisfy searchers. Our guide to off-page SEO explains the link side in detail.
How do you match search intent?
Search intent is the goal behind a search, such as learning something, comparing options, buying, or finding a specific site. Matching intent is the first and most important on-page decision, because a perfectly optimised page on the wrong intent rarely ranks.
The four main intent types
| Intent | What the searcher wants | Example | Page type that fits |
|---|---|---|---|
| Informational | To understand or learn | how do solar panels work | Guide, explainer, how-to |
| Commercial | To compare before deciding | best solar panels for homes | Comparison, review, buyer’s guide |
| Transactional | To take an action | buy solar panels online | Product or service page |
| Navigational | To reach a specific site | brand name plus login | Homepage or login page |
How to work out the intent
The most reliable method is to search the term yourself and study what ranks.
- Look at whether the top results are guides, product pages, lists or tools.
- Note which questions they answer and which formats they use.
- Check for search features such as images, videos or local results.
Google’s own guidance encourages anticipating the words readers use. For example, some people search “charcuterie” while others search “cheese board”. Google also notes that its language systems understand related terms, so you don’t need to cover every variation word for word.
One intent per page
Give each page one main intent and avoid having several pages compete for the same search. Competing pages, known as keyword cannibalisation, make it harder for Google to choose which page to rank. When two pages overlap heavily, merging them into one stronger page usually works better than keeping both.
How should you write title tags?
The title element is the page title defined in the HTML. Google often uses it for the title link, the clickable headline in search results. Google calls title links critical, because they are often the main thing people use to decide which result to click.
Google’s best practices for titles
Google’s documentation recommends:
- A title on every page, specified in the title element.
- Descriptive and concise text. Avoid vague titles like “Home” or “Profile”, and avoid unnecessarily long titles.
- No keyword stuffing. Repeating the same words or phrases doesn’t help users and can look spammy.
- No boilerplate. Every page needs a distinct title. Long titles that differ by only one word across many pages are unhelpful.
- Concise branding. Put the site name at the start or end, separated by a hyphen, colon or pipe.
- A clear main title on the page. Google looks at the main visible title and headings too, so make the main heading the most prominent text.
- The same language and script as the page content.
Is there a character limit?
Google says there is no limit on how long a title element can be, but title links are truncated as needed, typically to fit the device width. In practice, many SEOs keep titles to roughly 50–60 characters so they display in full on most screens. Treat that as a display guideline, not a Google rule.
Why Google sometimes changes your title
Google generates title links automatically, from the title element and from other sources, including:
- the main visual title and heading elements
- og:title meta tags
- other prominent text on the page
- anchor text pointing to the page
It is more likely to use a different source when a title is half-empty, obsolete, inaccurate, boilerplate, or in a different language from the page. Writing accurate, specific titles is the best way to keep Google using yours.
Anatomy of a search result
Where your on-page elements show up in Google
Example Garden Shop
https://www.example.com › guides › tomatoes URL
How to Grow Tomatoes in Pots: A Beginner’s Guide TITLE
Learn which tomato varieties suit containers, how often to water, and when to feed, with a month-by-month planting calendar. SNIPPET
Title link
Usually from your title element, but Google can also use the main heading, og:title, prominent text or anchor text if the title is missing, boilerplate or inaccurate.
Snippet
Mainly from page content matching the search; your meta description is used when it describes the page better.
URL and breadcrumbs
Descriptive URL words can appear as breadcrumbs, helping searchers judge the result before clicking.
Illustrative example. Based on Google’s title link, snippet and SEO Starter Guide documentation, checked October 2026.
How should you write meta descriptions?
A meta description is a short summary of the page in its HTML. Google may use it as the snippet, the description under the title link, but it isn’t guaranteed to.
How Google creates snippets
Google says snippets are created mainly from the page content itself, choosing the text that best relates to the specific search. That means the same page can show different snippets for different searches. Google uses the meta description when it gives a more accurate description of the page than the on-page text.
Google’s best practices for meta descriptions
- Unique descriptions for each page. Identical descriptions across a site don’t help when several pages appear in results.
- Relevant information. Descriptions can include useful facts, such as an author and date for articles, or price and key details for products.
- Programmatic generation where needed. Large database-driven sites can generate descriptions from page data, as long as they are readable and varied.
- No keyword lists. Strings of keywords don’t describe the page and are less likely to be shown.
Google states there is no length limit on meta descriptions, but snippets are truncated to fit the device. A practical target is one or two clear sentences, roughly 150–160 characters. Meta descriptions don’t directly affect rankings, but a good one can make your result more attractive to click.
How should you structure headings?
Headings break a page into sections that readers can scan and search engines can follow. A clear structure helps users find answers quickly and makes the page’s topics obvious.
Practical heading guidelines
- One clear main heading. The H1 should describe the page’s topic and match the title’s intent. Google notes that it may use the first visible H1 when creating title links if the main title is unclear.
- Descriptive subheadings. Use H2s for the main sections and H3s for subsections, phrased as the questions or topics readers care about.
- Answer first. Start each section with the direct answer, then add detail. This helps readers, and it gives Google clear passages to show as snippets.
- Keep it natural. Write headings for people, not as keyword lists.
Does heading order matter for SEO?
Google says that headings in semantic order are excellent for screen readers, but that from a Google Search perspective it doesn’t matter if they are out of order. There is also no ideal number of headings. A logical hierarchy is still good practice for accessibility and readability. It just isn’t a ranking requirement.
What makes on-page content high quality?
High-quality content is original, accurate, useful and written for people first. Google’s guidance on helpful, reliable, people-first content is the clearest description of what its ranking systems aim to reward.
Google’s description of useful content
Google’s SEO Starter Guide lists common attributes of compelling, useful content:
- Easy to read and well organised: natural writing, short paragraphs, clear sections and correct spelling and grammar.
- Unique: based on what you know, not copied or rehashed from others.
- Up to date: older content reviewed, updated or removed when it’s no longer relevant.
- Helpful and reliable: written for readers, with expert or experienced sources where appropriate.
E-E-A-T: experience, expertise, authoritativeness, trust
E-E-A-T is a framework from Google’s guidance for describing high-quality content. Google says it isn’t a ranking factor in itself, but it explains how to show that content can be trusted:
- Experience: first-hand use of a product, place or process.
- Expertise: knowledge and skill in the topic.
- Authoritativeness: being a recognised source on the topic.
- Trust: accuracy, honesty and transparency. Google calls this the most important element.
On the page, these show up in practical ways:
- clear author bylines with relevant credentials
- sources for facts and figures
- first-hand detail, such as photos, testing notes and real examples
- accurate update dates
- transparent information about who runs the site
They matter most for topics that can affect people’s health, money or safety. See our guides to financial SEO and casino SEO for how this applies in regulated industries.
Word count
Google states that content length alone doesn’t matter for ranking, and that there is no magic minimum or maximum word count. Longer pages can cover more questions and naturally use more relevant terms, but length should follow what the topic needs, not a target.
AI-generated content
Google’s guidance on generative AI says what matters is the quality and helpfulness of content, not how it was produced. Using automation mainly to manipulate rankings breaks its spam policies, and scaled content abuse covers mass-produced pages regardless of the method. If you use AI tools, review, fact-check and add genuine expertise before publishing.
Native-language content
For international sites, content written by native speakers reads more naturally and avoids the errors common in machine translation. See our pages on content creation, Japanese content, Danish content, Swedish content and Norwegian content.
How should you use keywords on the page?
Use the words your readers use, naturally and where they fit. Keywords help Google match a page to searches, but Google’s language systems understand meaning and related terms, so precise repetition isn’t necessary.
Good practice:
- include the main topic in the title, the main heading and early in the content
- use variations and related terms where they read naturally
- answer the related questions people ask about the topic
- write for clarity first, then check that key terms appear where readers expect them
Keyword stuffing, meaning excessive repetition of the same words or variations, is against Google’s spam policies. It also makes pages tiring to read. The meta keywords tag is ignored: Google says it doesn’t use it.
Myths vs Google’s guidance
Eight on-page SEO myths, checked against Google
The meta keywords tag helps rankings
Google: Google Search doesn’t use the keywords meta tag.
There’s an ideal word count
Google: content length alone doesn’t matter for ranking; there is no magic minimum or maximum.
Headings must be in perfect order to rank
Google: semantic order helps screen readers, but it doesn’t matter for Google Search.
E-E-A-T is a ranking factor
Google: it isn’t a ranking factor itself, but its systems use signals that align with it.
Keywords in the URL boost rankings
Google: keywords in the domain or URL path alone have hardly any effect beyond breadcrumbs.
Duplicate content gets a penalty
Google: it’s inefficient but won’t cause a manual action. Copying others’ content is different.
Titles must be under 60 characters
Google: there’s no limit; titles are truncated to fit the device. Concise titles simply display fully.
Google always shows your meta description
Google: snippets come mainly from page content; the meta description is used when it describes the page better.
Source: Google Search Central SEO Starter Guide, title link, snippet and helpful content documentation, checked October 2026.
How should you use internal and external links?
Links connect your content for readers and search engines. Google says it finds the vast majority of new pages through links, and that links help it understand how pages relate.
Internal links
Google recommends that every page you care about has a link from at least one other page on your site. Practical guidelines:
- link to related pages in context, where the link genuinely helps the reader
- link from strong pages to the pages you want to rank
- use links Google can crawl: standard
<a>elements with an href attribute - keep important pages within a few clicks of the homepage
Our post on internal link opportunities in Ahrefs shows a quick way to find pages that deserve more internal links.
Anchor text
Anchor text is the clickable text of a link. Google describes good anchor text as descriptive, reasonably concise, and relevant both to the page it’s on and to the page it links to.
- Avoid generic anchors such as “click here” or “read more”. Google suggests reading the anchor text on its own: if it doesn’t make sense out of context, it needs to be more descriptive.
- Avoid over-long anchors that turn whole sentences into links.
- Don’t stuff keywords into anchors. Google lists this as a spam-policy concern.
- Space links out. Don’t chain several links next to each other, because readers lose the context around each one.
- Use descriptive alt text on images used as links, because Google treats the alt text as the anchor text.
External links
Google says linking to other sites isn’t something to fear. Citing sources can help establish trustworthiness. Use rel=”nofollow” only for sources you don’t trust, rel=”sponsored” for paid links, and rel=”ugc” for links added by users, such as in comments or forums. Our post on why trust matters when building links explains how link choices affect a site’s reputation.
How do you optimise images?
Images help readers understand content, and they can bring visitors through Google Images. Google’s guidance focuses on relevance, quality and context.
- Use high-quality, relevant images that are sharp and add information, not just decoration.
- Place images near related text. Google uses the surrounding text to understand what an image shows.
- Write descriptive alt text that explains what the image shows and how it relates to the content. Alt text also makes images accessible to screen-reader users.
- Use descriptive file names, such as tomato-plant-in-pot.webp rather than IMG_4031.jpg.
- Compress and size images properly, using modern formats such as WebP or AVIF, to keep pages fast.
- Set width and height attributes so the layout doesn’t shift while images load.
Decorative images that add no information can use an empty alt attribute, so screen readers skip them.
How should URLs be structured?
URLs should be readable and descriptive. Google notes that parts of the URL can appear as breadcrumbs in search results, helping users decide whether a result is useful.
Good practice:
- use words that describe the page, such as /guides/grow-tomatoes-in-pots/, rather than random IDs
- keep URLs reasonably short
- use hyphens between words
- group related content in logical folders, which can also help Google learn how often different sections change
- avoid changing URLs without redirects, because changing them can lose existing signals
Google also says that keywords in the domain name or URL path alone have hardly any effect on ranking beyond appearing in breadcrumbs. Choose URLs for clarity, not as a ranking tactic.
How does structured data help on-page SEO?
Structured data is code, usually JSON-LD, that describes a page’s content in a standard format. It can make pages eligible for rich results, such as breadcrumbs, product details, recipes, events or FAQs where supported.
- Use the types that fit the content, such as Article, Product, BreadcrumbList or Organization.
- Make sure the markup matches what users can see on the page.
- Validate it with Google’s Rich Results Test.
Structured data helps Google understand a page. It doesn’t guarantee rich results or higher rankings. Google also states that no special structured data is needed to appear in AI Overviews or AI Mode. The usual SEO fundamentals apply.
Does on-page SEO work for AI Overviews?
Yes. Google says the same SEO best practices apply to AI Overviews and AI Mode, with no extra requirements or special optimisations. To be eligible as a supporting link, a page must be indexed and eligible to show with a snippet.
On-page practices that support this include:
- important content in text form, not only in images or video
- clear headings and direct answers
- helpful, reliable content
- structured data that matches the visible text
Writing sections that start with a clear answer helps readers and gives Google well-defined passages to draw from.
How do you run an on-page SEO audit?
An on-page audit reviews pages one by one against the elements in this guide, starting with the pages that matter most.
Step 1: Choose priority pages
Start with pages that already get impressions but rank just below the top results, plus your most important commercial pages. Google Search Console’s Performance report shows impressions, clicks and average position by page and query.
Step 2: Check intent and cannibalisation
Search each page’s main query and compare your page with what ranks. Check whether another page on your site targets the same intent.
Step 3: Review titles, descriptions and headings
Look for missing, duplicate, vague or overly long titles, and for boilerplate meta descriptions. Crawl tools flag these issues across the whole site. Our Ahrefs site audit quick guide explains one setup.
Step 4: Improve the content
Add missing answers, update outdated facts, cite sources and add first-hand detail. Remove or merge thin pages that don’t help readers.
Step 5: Strengthen links and images
Add internal links from related pages, improve vague anchor text, and fix missing alt text and oversized images.
Step 6: Request reindexing and measure
After significant updates, use the URL Inspection tool to request recrawling, as explained in our guide on how to index a URL in Google Search Console. Google notes that some changes show up within hours and others take months, so allow a few weeks before judging results.
What are the most common on-page SEO mistakes?
Most on-page mistakes come from writing for search engines instead of readers, or from neglecting pages after publishing.
- Targeting the wrong intent. A guide where searchers want a product page, or the reverse.
- Duplicate or boilerplate titles. Many pages with near-identical titles are hard to tell apart in search results.
- Keyword stuffing. Repetition makes pages read badly and breaks Google’s spam policies.
- Thin or rehashed content. Pages that add nothing beyond what already ranks.
- Outdated information. Old prices, figures or rules erode trust.
- Generic anchor text. “Click here” tells readers and Google nothing about the destination.
- Orphan pages. Pages with no internal links are hard for both users and Google to find.
- Missing alt text. It hurts accessibility and removes useful image context.
- Several pages competing for one search. Cannibalisation splits relevance between pages.
- Chasing myths. Word-count targets, meta keywords and keyword-stuffed URLs don’t help, according to Google.
How we approach on-page SEO
We run a portfolio of websites of our own, and the practices in this guide are the ones we apply to them every day.
For clients, we offer two things: native-language content written for their own websites, and sponsored placements on established sites through our self-serve backlink marketplace. Marketplace links carry rel=”sponsored” and are labelled as advertising on the publishing sites.
Reference sources
- Google Search Central: SEO Starter Guide
- Google Search Central: Influencing your title links in search results
- Google Search Central: Control your snippets in search results
- Google Search Central: Creating helpful, reliable, people-first content
- Google Search Central: Link best practices for Google
- Google Search Central: Google Images SEO best practices
- Google Search Central: URL structure best practices
- Google Search Central: Introduction to structured data
- Google Search Central: Spam policies (keyword stuffing, scaled content)
- Google Search Central: Guidance on using generative AI content
- Google Search Central: AI features and your website
- Google Search Central: Qualify your outbound links
Sources checked October 2026.
FAQ
What is on-page SEO in simple terms?
On-page SEO is the work of improving individual pages so they clearly answer the searches they target. It covers the content, title, meta description, headings, internal links, images, URL and structured data, which are all things you control on the page itself.
What is the most important on-page SEO factor?
Helpful, relevant content that matches search intent. Google’s SEO Starter Guide says creating compelling, useful content will likely influence a site’s presence in search results more than any other suggestion it makes. Titles, headings and links help Google understand that content, but they can’t make up for a page that doesn’t answer the search.
How long should a title tag be?
Google sets no limit on title length, but it truncates title links to fit the device width. Many SEOs aim for roughly 50–60 characters so the title displays in full on most screens. More importantly, the title should be unique, descriptive and free of keyword stuffing.
Does Google always use my meta description?
No. Google says snippets are created mainly from the page content that best matches each search, so the same page can show different snippets for different searches. It uses the meta description when it describes the page better than the on-page text, so a clear, unique description is still worth writing.
How long does on-page SEO take to show results?
Google says some changes show up within a few hours, while others can take several months. It suggests waiting a few weeks before assessing whether changes had an effect. Requesting recrawling in Search Console after major updates can help Google notice changes sooner.