Skip to content
SeoWiki

The SEO encyclopedia

On-Page SEO

SEO on Page

On-page SEO is the practice of optimizing a webpage's content, HTML, structure, and user experience so search engines and users can better understand it and find it relevant to a query.

Beginner5 min readUpdated 2026-07-26Reviewed by Lucía Marín

Key takeaways

It is the main lever for matching search intent and improving a page's relevance, clarity, and crawlability.

Example

A blog post about "how to train a puppy" is optimized for on-page SEO by:

  • Using a clear title tag: "How to Train a Puppy: A Step-by-Step Guide"
  • Writing a meta description that summarizes the post and includes the keyword.
  • Organizing content with H2 headings like "Start with Basic Commands" and "Use Positive Reinforcement."
  • Adding internal links to related articles (e.g., "Puppy Feeding Schedule").
  • Including alt text for images: "Golden retriever puppy sitting and waiting for a treat."
  • Keeping the URL short: /how-to-train-a-puppy

When should I use this?

Use on-page SEO every time you create or update a webpage. It is essential for:

  • Blog posts and articles
  • Product pages
  • Landing pages
  • Service pages
  • Any page you want to rank in search results

What it is not

  • Off-page SEO: External signals like backlinks and social mentions.
  • Technical SEO: Server-side factors like site speed, crawl budget, and structured data (though they overlap).
  • Keyword stuffing: Forcing keywords unnaturally into content.
  • A one-time task: On-page SEO requires ongoing optimization as content and search intent evolve.

Quick start

  1. Research search intent – Understand what users want when they search your target keyword.
  2. Write a descriptive title tag – Include the primary keyword and keep it under 60 characters.
  3. Craft a compelling meta description – Summarize the page value; aim for 150-160 characters.
  4. Use a clear heading structure – One H1, logical H2s, and H3s for subtopics.
  5. Optimize your URL slug – Short, readable, and keyword-rich (e.g., /on-page-seo).
  6. Add internal links – Link to relevant pages on your site.
  7. Use descriptive alt text – For every image, describe what it shows.
  8. Ensure mobile usability and fast loading – Test with Google's Mobile-Friendly Test and PageSpeed Insights.

Common mistakes

  • Keyword stuffing – Writing for search engines instead of users.
  • Duplicate or vague title tags – Each page needs a unique, descriptive title.
  • Missing or weak internal links – Pages become orphaned and hard to discover.
  • Ignoring search intent – Creating content that doesn't match what users expect.
  • Overlooking meta descriptions – Even though not a ranking factor, they affect click-through rate.

Next step

FAQ

Is meta description a ranking factor?

No, meta descriptions are not a direct ranking factor, but they influence click-through rate, which can indirectly affect rankings.

How often should I update on-page SEO?

Review on-page SEO whenever you publish new content or when search intent changes. A quarterly audit is a good practice.

Related topics

Sources

  • Google Search Central — Best source for how Google explains page content, crawling, indexing, and search-friendly practices.
  • Moz — Clear definition of on-page/on-site SEO and the distinction from off-page SEO.
  • Ahrefs — Practical, widely cited explanation of on-page elements and implementation.
  • Search Engine Journal — Useful industry overview of on-page SEO factors and best practices.

Reviewed by Lucía Marín, Founding editor.