PLAY 07

On-Page SEO: The Definitive Guide (From 20 Years of Doing the Work)

Steal the on-page checklist I actually run on every page, not the watered-down version everyone reposts

Learn why matching search intent beats every keyword trick you have ever read about

See exactly how the same on-page work that ranks you in Google also gets you cited in ChatGPT and Perplexity

18 min readUpdated 2026By Shmul

KEY TAKEAWAYS

  • check_circleOn-page SEO is the highest-leverage work in search because it is the only part you fully control, so start there before chasing links.
  • check_circleMatching search intent beats every optimization trick combined. Read the current top results like a brief, then out-execute them.
  • check_circleDepth means questions answered, not words written. Be the page that makes the reader's next search unnecessary.
  • check_circleInternal links with descriptive anchor text are your most wasted asset. Use them deliberately to pass authority to your priority pages.
  • check_circleWrite for entities and semantic relevance, not keyword density. Cover the concepts a genuine expert would naturally mention.
  • check_circleThe clean structure that wins featured snippets is the same structure AI engines cite, so good on-page work is now GEO work too.

INSIDE THIS GUIDE

10 chapters. Jump to any of them.

01

CHAPTER 01

What On-Page SEO Actually Is (And What It Is Not)

I have spent twenty years in search, and I can tell you that on-page SEO is the most misunderstood discipline in the field. People treat it like a checklist of tricks. It is not. It is the practice of making a page so obviously the best answer to a query that both a search engine and a reader reach the same conclusion in seconds.

On-page SEO is everything you control directly on the page: the words, the structure, the title, the headings, the links pointing inward, the images, the markup. It is distinct from off-page work like link building and from technical SEO that governs how your whole site is crawled and rendered. On-page is the layer you have total authority over, which is exactly why it is the place to start.

Here is the part most guides skip. On-page SEO is not about stuffing a keyword into a page X number of times. That game ended over a decade ago. Modern on-page work is about communicating meaning clearly enough that a machine can understand what your page covers, who it serves, and why it deserves to win the slot.

bolt

On-page SEO is the only part of search you fully control, which makes it the highest-ROI work you can do this week.

The reason I lead with on-page in almost every project is leverage. You do not need anyone's permission, you do not need a budget, and you do not need to wait on a developer for most of it. You can rewrite a title tag in two minutes and see a click-through change in two weeks. Compare that to a link campaign that takes months to move the needle.

Control equals leverage

You cannot make another site link to you on demand. You can fix every on-page signal on your own pages today. Start where you have power.

targetOn-page vs. content writing

People conflate on-page SEO with writing content, but they are different jobs. Content writing is producing the substance. On-page SEO is structuring and signaling that substance so engines and readers can parse it fast. A brilliant article with a garbage title and no internal links is a content win and an on-page failure. I cover the writing craft separately in my guide on content writing.

lightbulbPRO TIP

Before you touch a single page, decide what query it should win. On-page work without a target query is just decoration.

02

CHAPTER 02

Title Tags and Meta Descriptions That Earn the Click

Your title tag is the single most important on-page element, full stop. It is the headline of your search result, the first thing an algorithm reads, and the line a human decides on. I have moved pages multiple positions with nothing but a rewritten title. Treat it like the ad it is.

Write the title for the human first, the engine second

The old advice was to front-load your exact keyword and stop thinking. The better approach is to include the keyword naturally and then earn the click with specificity, a number, a year, or a clear benefit. A title that reads like every other result on the page gets ignored even if it ranks.

Example

Weak: "Email Marketing Tips". Strong: "Email Marketing: 11 Tactics I Use to Hit 40 Percent Open Rates". The second tells a human exactly what they get and signals depth to the engine. Specificity is the whole game.

Keep it under the truncation line

Google truncates titles around 580 to 600 pixels, which is roughly 55 to 60 characters for most fonts. Anything past that gets cut with an ellipsis and your strongest words can vanish. Front-load the meaning so even a truncated title makes sense. I aim for under 60 characters and put the differentiator early.

Under 60 characters

Write titles that survive truncation. Put the keyword and the hook in the first 50 characters so a cut title still sells.

Meta descriptions do not rank, but they sell

Let me be blunt: the meta description is not a ranking factor. Google often rewrites it anyway. So why bother? Because when Google does use it, a sharp meta description lifts click-through rate, and click-through is a behavioral signal you want trending the right way. Write 150 to 160 characters that read like ad copy, include the keyword so it bolds on match, and make a promise the page keeps.

bolt

A higher click-through rate on the same ranking position is free traffic. The title and meta are where you earn it.

targetThe CTR feedback loop

When more people click your result than the algorithm expects for that position, you signal relevance. Over time that can support your ranking. This is not a magic lever you can spam, but it is real. Rewrite titles on pages that rank in positions 4 through 10 with low click-through, and you are pulling one of the most underused on-page levers there is.

warningWATCH OUT

Do not write clickbait the page cannot pay off. A high click-through with an instant bounce teaches the engine your result is a disappointment. The promise and the payoff have to match.

03

CHAPTER 03

Heading Structure: The Skeleton Engines and Readers Both Use

Your headings are the table of contents for the page whether you formatted them that way or not. Engines use the H1 through H6 hierarchy to understand topical structure, and humans scan headings to decide if you have what they need. Get this wrong and a great page reads as a mess.

One H1 per page, and it should be the clearest statement of what the page is about. Your H1 and your title tag can differ, and often should: the title is written for the search result, the H1 for the reader who already clicked. Both should signal the same core topic.

Use headings as a real outline, not as styling

Every H2 should introduce a distinct section. H3s nest under them for subsections. Do not jump from H2 to H4 because you liked the font size; use CSS for appearance and reserve heading tags for structure. A clean hierarchy is something engines parse and increasingly something AI systems use to extract a quotable chunk.

  1. 1Write your H1 as the single clearest description of the page topic
  2. 2Draft your H2s as the main questions or subtopics a reader needs answered
  3. 3Nest H3s under each H2 for specific points or steps
  4. 4Read only the headings top to bottom: if that outline tells the full story, your structure is right
bolt

If someone read only your headings and understood the whole page, your structure is doing its job.

Write headings that contain the language people actually search

Phrase headings the way your audience phrases the problem. If people search "how long does it take to rank," a heading that says exactly that has a better chance of matching a query and of being lifted into a featured snippet or an AI answer than a clever-but-vague label. This ties directly into the keyword research that should drive your outline in the first place.

targetHeadings and snippets

Featured snippets and AI answer boxes love a question phrased as a heading followed by a tight, direct answer in the first sentence or two beneath it. Structure a few of your headings as the literal questions people ask, then answer them immediately and completely. That single habit wins more snippet real estate than any other on-page move I know.

04

CHAPTER 04

Search Intent: The Factor That Beats Every Trick

I will say this plainly because it is the most important sentence in this guide: matching search intent beats every other on-page tactic combined. You can nail your title, your headings, your internal links, and still rank nowhere if your page answers a different question than the one being asked.

Search intent is the why behind the query. The same words can carry different intent. Someone searching "running shoes" might want to buy, compare, or learn. Google has already decided which intent dominates that query, and it shows you the answer on the results page. Your job is to read that page like a brief.

Read the SERP before you write a word

Open the results for your target query and look at what is ranking. Are they listicles? Product pages? Long tutorials? Short definitions? Google is telling you, with money on the line, what format and depth satisfy that intent. If the top ten are all comparison posts and you publish a sales page, you have already lost.

  1. 1Search your target query in an incognito window
  2. 2Note the dominant content type in the top ten results (guide, list, product, video, tool)
  3. 3Note the angle and depth: are they beginner explainers or advanced deep dives?
  4. 4Match that format and intent, then beat it on quality, not by being different for its own sake

The SERP is the brief

Google has run the experiment for you. The current top results show what intent it rewards. Read it, match it, then out-execute it.

bolt

You cannot out-optimize a page that answers the wrong question. Match intent first, optimize second.

The four intent types and how to serve each

  • Informational: the reader wants to learn. Serve depth, clarity, and structure. Most blog content lives here.
  • Navigational: the reader wants a specific site or brand. Make sure your branded pages are clean and claim your name.
  • Commercial investigation: the reader is comparing before buying. Serve comparisons, reviews, and honest tradeoffs.
  • Transactional: the reader is ready to act. Serve a fast, frictionless page with a clear path to convert.

targetWhen one query has mixed intent

Some queries show a blended results page: a few guides, a few product pages, a video. That is Google hedging because intent is split. In those cases you can win by covering the dominant intent thoroughly while addressing the secondary one in a section. Just do not try to be all four things at once, or you serve none of them well.

05

CHAPTER 05

Content Depth and Comprehensiveness Done Right

Somewhere along the way the industry decided depth means long, and long means good. That is wrong and it produces some of the worst content on the web. Depth means comprehensive coverage of the topic so the reader never has to open a second tab. Sometimes that is 600 words. Sometimes it is 4,000. The topic decides, not a target.

The right way to think about depth is to ask: when someone finishes this page, do they still have an open question a competitor answers? If yes, you are thin no matter your word count. If no, you are comprehensive even if you are concise. Coverage of the subtopics is what matters, not the length of the document.

Map subtopics before you write

Comprehensiveness comes from covering the related questions and subtopics that surround your main query. Look at the People Also Ask boxes, the related searches, and what the top results include that you are missing. Build your outline from that map. This is the single biggest difference between a page that ranks broadly and one that ranks for exactly one phrase.

bolt

Depth is measured in questions answered, not in words written.

warningWATCH OUT

Padding is poison. Adding 800 words of fluff to hit a count does not add depth, it dilutes the page and slows the reader down. Cut anything that does not answer a real question.

Be the page that makes the next search unnecessary

The standard I hold myself to is simple: this page should end the search. If a reader has to go back to Google after reading you, you left a gap, and that gap is where your competitor wins. Cover the obvious questions, then cover the one nobody else bothered to answer, the one that comes from actually doing the work.

Comprehensive does not mean long. It means the reader never needs another tab.Shmul

targetDepth and topical authority

Single deep pages are good. A cluster of deep pages around one theme is better. When you cover a topic thoroughly across multiple interlinked pages, you build topical authority, and engines start to treat your site as a trusted source on that subject. Depth on the page and breadth across the cluster work together. I tie this to E-E-A-T because demonstrated expertise across a topic is exactly the signal that framework rewards.

06

CHAPTER 06

Internal Linking and Anchor Text: Your Most Wasted Asset

Internal linking is the most underused weapon in on-page SEO. It is fully in your control, it costs nothing, and most sites do it by accident or not at all. Done deliberately, internal links tell engines which of your pages matter, what they are about, and how they relate. Done lazily, you leave your best pages stranded.

Every internal link does two jobs. It passes authority from one page to another, and its anchor text describes the destination. When I link to my technical SEO guide using those words as the anchor, I am telling Google that page is about technical SEO. Vague anchors like "click here" waste that signal entirely.

Use descriptive, varied anchor text

Your anchor text should describe the destination page in natural language. Use the target keyword when it fits, but vary it so it reads like a human wrote it, because a human should have. A page that earns ten internal links all using its exact target phrase looks engineered. Mix exact match with partial and natural phrasing.

Anchors are labels

Every anchor text is a label you put on the destination page. Make it describe what the reader will find, not "read more".

Push authority to the pages that matter

Your homepage and a few top pages usually carry the most authority. Internal links are how you distribute that authority to the pages you want to rank. Identify your money pages and your priority guides, then make sure your strong pages link to them with good anchors. Orphan pages with zero internal links are pages you have told Google not to care about.

  1. 1List your most important pages, the ones tied to revenue or core rankings
  2. 2Find your highest-authority pages: usually the homepage and your most-linked content
  3. 3Add contextual internal links from the strong pages to the priority pages
  4. 4Use descriptive anchor text that names the destination topic
  5. 5Hunt for orphan pages and give every one at least a few relevant internal links
bolt

An orphan page with no internal links is a page you have told Google to ignore.

targetContextual links beat navigation links

A link inside a relevant paragraph carries more weight and more context than the same link in a sitewide footer or menu. Both have a place, but when you want to pass topical relevance, put the link in the body, surrounded by text about the same subject. Context is part of the signal.

07

CHAPTER 07

URL Structure and Slugs

URL structure is a minor ranking factor and a major clarity factor. A clean URL tells a human and a machine what the page is about before they even load it, and it survives being copied into a chat, a forum, or an AI prompt. You set it once, so set it right.

Keep slugs short, lowercase, and descriptive. Use hyphens between words, not underscores or spaces. Include the target keyword when it fits naturally. "/playbook/on-page-seo/" beats "/p?id=4471" and beats "/the-complete-and-ultimate-guide-to-on-page-search-engine-optimization-2026/". Short and clear wins.

  • Use hyphens to separate words, never underscores
  • Keep it lowercase to avoid duplicate-URL issues on some servers
  • Drop stop words and dates that will age the URL badly
  • Match the slug to the page topic, not the full title
  • Avoid changing live URLs unless you must, and 301 redirect when you do

warningWATCH OUT

Do not casually change a URL on a page that already ranks. If you must change it, set a 301 redirect from the old URL to the new one or you will lose the rankings and links it earned. URL changes are a migration, not a tweak.

bolt

A clean URL is a free preview of your page that travels everywhere the link goes.

targetFlat vs. deep structures

Folder depth in a URL has minimal direct ranking impact, but a logical, shallow structure helps crawling and helps humans understand where they are. Group related content into sensible folders, but do not bury important pages five levels deep for the sake of a tidy taxonomy. If a page matters, keep it close to the root. For bigger architectural decisions, this overlaps with site migrations.

08

CHAPTER 08

Images, Alt Text, and Visual Optimization

Images are where on-page SEO, accessibility, and page speed collide. Most sites get all three wrong: unoptimized files that slow the page, missing alt text that fails screen readers and image search, and generic file names that say nothing. Each of those is a fixable on-page miss.

Write alt text for humans who cannot see the image

Alt text exists first for accessibility: it is what a screen reader announces to a visually impaired user. That is the standard to write to. Describe what the image actually shows, in plain language. The SEO benefit, eligibility for image search and added context for the engine, follows naturally when you write honest, descriptive alt text. Do not stuff keywords into it; describe the image.

Example

Bad alt: "seo seo tips best seo guide". Good alt: "Bar chart showing organic traffic rising over six months after on-page changes". The good one helps a blind user, helps image search, and is not embarrassing to be caught writing.

Optimize the file before you upload it

A 4 MB hero image is a ranking problem because it wrecks your load time, and load time feeds Core Web Vitals. Compress images, serve modern formats like WebP, size them to their display dimensions, and lazy-load below-the-fold images. This is on-page work that bleeds into performance, which I cover in depth in my Core Web Vitals guide.

Describe, do not stuff

If your alt text would embarrass you read aloud to a blind user, it is wrong. Write the true description, get the SEO benefit free.

bolt

Every image is an accessibility obligation first and an SEO opportunity second. Honest alt text serves both.

targetFile names matter too

Name your image file before you upload it. "on-page-seo-title-tag-example.png" tells the engine something; "IMG_8842.png" tells it nothing. Use descriptive, hyphenated file names that match the image content. It is a tiny signal, but it is free and you are uploading the file anyway.

09

CHAPTER 09

On-Page Entities and Semantic Relevance

Search engines stopped thinking in keywords years ago. They think in entities: people, places, concepts, products, and the relationships between them. Modern on-page SEO means making your page semantically rich, covering the related concepts a genuine expert would mention, so the engine recognizes you as covering the full topic and not just repeating a phrase.

An entity is a thing the engine knows about as a distinct concept. When you write about on-page SEO, a real expert naturally mentions title tags, search intent, internal links, schema, and Core Web Vitals. Those related entities are the proof you actually know the subject. A page that repeats "on-page SEO" forty times but never mentions the surrounding concepts looks shallow to a modern engine.

Cover the concepts an expert would naturally include

Do not chase a keyword density number. Instead, ask what a true subject-matter expert would mention when explaining this topic, and make sure those concepts appear naturally. This is how you build semantic relevance: by being genuinely thorough, not by reverse-engineering a word list. Comprehensiveness from chapter five and entity coverage are the same muscle.

bolt

Engines reward pages that read like an expert wrote them, because experts naturally cover the related concepts.

Use schema to state your entities explicitly

Structured data is how you tell an engine, in a language it cannot misread, what your entities are: this is an article, by this author, about this topic, published on this date. Schema markup does not replace good on-page writing, but it confirms and clarifies it. I treat it as the structured layer on top of the semantic work, and I cover it fully in my schema markup guide.

Entities over density

Stop counting keyword repetitions. Start asking whether you covered the concepts a genuine expert would mention. That is what semantic relevance measures.

targetWhy this matters more every year

As engines and AI systems get better at understanding language, the keyword-matching tricks decay and the entity-and-meaning approach gets stronger. Writing for semantic relevance is the version of on-page SEO that ages well. The page that genuinely covers its topic is the page that keeps winning as the algorithms get smarter.

10

CHAPTER 10

Readability, Formatting, and Feeding the AI Answer Engines

Here is the convergence that makes on-page SEO more important than ever, not less. The page structure that helps a skimming human, clear headings, short paragraphs, direct answers, lists, is the exact same structure that AI answer engines parse to extract and cite. Good on-page formatting now serves three audiences at once: Google, the reader, and the machines writing answers.

Format for the skimmer, because everyone skims

Nobody reads a web page word for word. They scan. Short paragraphs of two to four sentences, descriptive subheadings, bulleted lists for parallel items, and bold on the phrases that carry the point. This is not dumbing down; it is respecting how people actually consume text on a screen. A wall of text loses the reader and buries your best ideas.

  • Keep paragraphs short: two to four sentences is the sweet spot
  • Use subheadings every few hundred words so scanners can navigate
  • Use lists for steps and for parallel items, not for everything
  • Answer the implied question in the first sentence of a section, then elaborate
  • Bold the load-bearing phrase, not random words for emphasis

Write extractable answers for AI engines

AI answer engines like ChatGPT, Perplexity, and Google's AI Overviews build responses by pulling clear, self-contained statements from pages they trust. A heading phrased as a question, followed by a complete two-sentence answer, is a gift to those systems. The same move that wins a featured snippet wins an AI citation. This is the heart of generative engine optimization, and it grows directly out of good on-page work.

bolt

The structure that wins a featured snippet is the same structure that earns an AI citation. On-page is now GEO.

To get pulled into an AI answer, your statements need to stand on their own. A sentence that says "as we discussed above, this is the better approach" is useless out of context. A sentence that says "on-page SEO is the practice of optimizing elements within a page to rank higher and earn clicks" can be lifted and cited as-is. Write self-contained, factual, quotable sentences and you become the source. I go deeper on this in how to get cited in ChatGPT and how to win AI Overviews.

targetOne page, three audiences

This is the most important shift of the last few years. You no longer optimize separately for Google and for AI engines. A page with clear intent matching, strong structure, comprehensive coverage, and self-contained statements satisfies the ranking algorithm, the human reader, and the answer engine simultaneously. The work converged. Do the on-page work well and you are already doing GEO. Track whether it is paying off with my guide on measuring LLM citations.

You used to write for Google and hope humans liked it. Now you write for humans, and Google and the AI engines both reward you for it.Shmul

Frequently asked

What is on-page SEO in simple terms?expand_more
On-page SEO is the practice of optimizing elements within a single web page to help it rank higher in search and earn more clicks. It includes the title tag, headings, content depth, internal links, URL, images, and structured data, all the things you control directly on the page itself.
What is the most important on-page SEO factor?expand_more
Matching search intent. If your page does not answer the question the searcher is actually asking, no amount of title or keyword optimization will save it. The second most important element is the title tag, because it is both the first thing the engine reads and the line a human decides on.
How long should my content be for on-page SEO?expand_more
There is no universal word count. The right length is whatever it takes to comprehensively answer the searcher's question without padding. Some topics need 600 words, others need 4,000. Judge depth by whether the reader still has an open question a competitor answers, not by hitting a target number.
Do meta descriptions help with SEO rankings?expand_more
Meta descriptions are not a direct ranking factor, and Google often rewrites them. They still matter because a sharp meta description can lift click-through rate when Google does use it, and a better click-through rate on the same position means more traffic and a positive behavioral signal.
How does on-page SEO affect AI answer engines like ChatGPT?expand_more
AI answer engines build responses by extracting clear, self-contained statements from pages they trust. The same on-page structure that helps Google and human readers, descriptive headings, direct answers, comprehensive coverage, also makes your content easy for AI systems to parse and cite. Good on-page SEO is now the foundation of generative engine optimization.
What is the right way to write alt text for images?expand_more
Write alt text that honestly describes what the image shows, in plain language, as if explaining it to someone who cannot see it. That serves accessibility first and delivers the SEO benefit, image search eligibility and added context, as a byproduct. Do not stuff keywords into alt text; describe the image truthfully.

Want this done for you?

I help brands win on Google and get cited in AI search. Tell me about your project.

Work with me