On-Page SEO: How to Optimize a Page That Ranks
By The seo.bike team, SEO & GEO practitioners · Last reviewed July 8, 2026
On-page SEO is optimizing the things on a page you fully control — its content, title, headings, URL, internal links, and images — so both readers and search engines can quickly tell what the page is about and why it deserves to rank for a specific query. It starts with matching search intent, not sprinkling keywords.
Start with search intent, not a keyword
The single biggest on-page decision happens before you write a word: what does the person searching this actually want? Search intent falls into rough types. Informational ("how to true a bike wheel") wants an explanation. Commercial ("best gravel tires") wants comparison. Transactional ("buy tubeless sealant") wants to purchase. Navigational ("strava login") wants a specific site.
A page ranks when it satisfies the dominant intent behind the query, not when it repeats the query the most times. The fastest way to read intent is to search the term yourself and study what already ranks. If the top results are all buying guides, a 3,000-word history essay won't win no matter how well-written it is — you've answered a question nobody asked.
Get intent right and everything downstream — the format, the depth, the calls to action — falls into place. Get it wrong and no amount of on-page tuning saves the page.
Write content that earns the ranking
Once intent is clear, the content itself is what wins or loses. The goal is to be the most genuinely useful answer for that intent — more complete, more accurate, or more clearly explained than the alternatives. That usually means covering the sub-questions a searcher will have next, using concrete examples, and getting to the point instead of padding.
Critically, each page should serve one primary intent. Splitting one topic across near-identical pages, or spinning up thin variations to "cover more keywords," is the classic mistake — it dilutes every version and invites keyword cannibalization, where your own pages compete with each other. It's also the kind of low-value, mass-produced content that modern spam systems demote.
Originality matters more than length. A tight, first-hand answer beats a long paraphrase of what already ranks. If your page adds nothing a searcher couldn't get from the current top result, it has no reason to outrank it.
Titles and meta descriptions
Your title tag and meta description are the page's pitch in the search results. The title tag is a genuine ranking and relevance signal and the most-clicked line on the page; the meta description doesn't directly rank you but heavily influences whether someone clicks. We keep the deep definitions in the glossary — see the title-tag and meta-description entries — so here we'll focus on how to use them on-page.
Write the title for a human first: lead with the specific thing the page delivers, keep it under roughly 60 characters so it doesn't truncate, and make each title on your site distinct. Don't cram the same keyword three ways; one clear phrasing of the intent is enough. For the description, write a compelling one-to-two-sentence summary that sets accurate expectations, around 155 characters.
Misleading titles that over-promise get clicks but also get fast bounces, and search engines notice when people return to the results unsatisfied. Accuracy is a feature, not a compromise.
Structure with real headings
Headings do two jobs: they let a reader skim to the part they need, and they tell search engines how the page is organized. Use one H1 that states the page's subject, then H2s for the major sections and H3s for sub-points nested underneath. The structure should read like a sensible outline even with the paragraphs removed.
Don't choose heading levels for how big the text looks — that's what styling is for. Choose them for hierarchy. Skipping from H1 to H4, or scattering H2s at random, muddies the outline for assistive technology and crawlers alike.
Good headings also happen to help you rank for the specific sub-questions people ask, because they mirror the way searchers phrase things. Write them as the questions or tasks a reader actually has, not as keyword labels.
Internal linking that guides readers and crawlers
Internal links — links from one page of your site to another — are one of the most underused on-page levers. They pass authority around your site, help crawlers discover pages, and, done well, walk a reader toward the next thing they need. A page with no internal links pointing to it is an orphan that search engines struggle to find and value.
Link with descriptive anchor text that says where the link goes ("our guide to hreflang") rather than "click here." Point your important pages at each other, and link new pages from established ones so they inherit some discoverability. Build the connections around topics: pages about the same subject should reference each other, forming a cluster.
The practical test is whether a reader who finishes this page has an obvious, relevant next step you've linked to. If yes, you've helped the human and the crawler at once.
Use keywords naturally — never stuff
Keywords still matter, but not the way old SEO folklore claims. There is no magic density percentage. What you want is for the page to naturally contain the vocabulary a searcher and a search engine would expect for the topic — the main phrasing, close variants, and the related terms that show you actually cover the subject.
Keyword stuffing — repeating a phrase unnaturally to try to trigger a ranking — is both ineffective and a spam signal. If reading a sentence out loud makes you wince, you've overdone it. Write for the person; the relevant terms show up on their own when you genuinely cover the topic.
A useful habit: after drafting, read the page as if you'd never seen the target query. If it reads like a human wrote it for another human, the keyword work is done. If it reads like it was assembled around a phrase, rewrite it.
Optimize images and alt text
Images affect on-page SEO in three ways: page speed, accessibility, and image search. Oversized files are one of the most common reasons a page loads slowly, so export images at the dimensions you actually display them and use modern, compressed formats. A fast page is a better experience and a mild ranking help.
Alt text — the text alternative you set on each image — describes the image for people using screen readers and for crawlers that can't "see" pictures. Write it as a plain description of what the image shows and its purpose on the page, not as a place to dump keywords. If the image is purely decorative, an empty alt attribute is correct.
Descriptive file names help too: "gravel-tire-tread-closeup.jpg" tells a search engine more than "IMG_4821.jpg." None of this is glamorous, but images are often the easiest on-page win a site has been ignoring.
In this section
- How to Do Keyword Research: A Practical Process — A step-by-step keyword research process: seed terms, autosuggest, intent, volume vs difficulty vs value, and topic clustering.
- How to Write Title Tags and Meta Descriptions — A hands-on guide to writing title tags and meta descriptions that survive truncation, avoid duplication, and earn clicks.
Key terms
Related guides
- Off-Page SEO: Links, Authority & E-E-A-T
- Technical SEO: The Crawl, Index & Speed Foundations
- What Is SEO? A Plain-English Guide for Beginners
Frequently asked questions
On-page SEO is everything you control on the page itself — content, titles, headings, internal links, and images. Off-page SEO is your reputation beyond your pages, mainly the links and mentions other sites give you. On-page is what you say about yourself; off-page is what the rest of the web says about you.
There's no target number or density. You want the natural vocabulary of the topic to appear because you genuinely cover it, not a phrase repeated to a quota. If a sentence sounds forced when read aloud, you've stuffed too many in. Write for the reader and the relevant terms take care of themselves.
The title tag is still an important relevance signal, and including a clear version of what the page is about helps. But you don't need the exact query repeated or crammed in awkwardly — one natural phrasing of the intent, written for a human to click, is what performs best.
One primary intent per page. Splitting a topic across near-duplicate pages dilutes all of them and causes your own pages to compete, which is called keyword cannibalization. Consolidate closely related searches onto a single strong page rather than spreading them thin.