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
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.
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.
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.
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.
- 1Write your H1 as the single clearest description of the page topic
- 2Draft your H2s as the main questions or subtopics a reader needs answered
- 3Nest H3s under each H2 for specific points or steps
- 4Read only the headings top to bottom: if that outline tells the full story, your structure is right
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.
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.
- 1Search your target query in an incognito window
- 2Note the dominant content type in the top ten results (guide, list, product, video, tool)
- 3Note the angle and depth: are they beginner explainers or advanced deep dives?
- 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.
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.
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.
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.
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.
- 1List your most important pages, the ones tied to revenue or core rankings
- 2Find your highest-authority pages: usually the homepage and your most-linked content
- 3Add contextual internal links from the strong pages to the priority pages
- 4Use descriptive anchor text that names the destination topic
- 5Hunt for orphan pages and give every one at least a few relevant internal links
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.
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.
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.
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.
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.
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.
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.
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.
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
What is the most important on-page SEO factor?expand_more
How long should my content be for on-page SEO?expand_more
Do meta descriptions help with SEO rankings?expand_more
How does on-page SEO affect AI answer engines like ChatGPT?expand_more
What is the right way to write alt text for images?expand_more
Want this done for you?
I help brands win on Google and get cited in AI search. Tell me about your project.