RankpediaA plain-English encyclopedia of search

Onsite SEO

Optimises every page element you control directly — content, HTML, URLs, internal links — to help search engines understand and rank your site.

If you have ever stuffed keywords into a page and wondered why it still did not rank, you already know it is not just about keyword count.

Key points

A travel blog that finally ranked

A travel blog targeting 'best hotels in Paris' wrote a keyword-rich page but ignored heading hierarchy and internal linking. Despite exact-match keywords, it sat on page 3. After restructuring headings, adding image alt text, and linking to a related Paris guide, the page moved to position 4 within two months. No new content was added.

Three areas where onsite SEO goes wrong

  • Keyword stuffing Repeating the same phrase unnaturally harms readability and can trigger spam filters. Write for clarity first; keywords should fit naturally.
  • Duplicate or weak titles Using the same title tag on multiple pages confuses search engines about which is most relevant. Each page needs a unique, descriptive title.
  • Ignoring technical basics Canonical tags, mobile usability, and Core Web Vitals are part of onsite SEO. Neglecting them can undermine even good content.

Four elements you should check first

  • Title tag The clickable headline in search results. It should include the target keyword and match the page content. Keep under 60 characters.
  • Meta description A short summary often shown in the snippet. It does not directly affect rankings but influences click-through rates. Keep under 160 characters.
  • Heading tags Use a logical hierarchy (H1 then H2 then H3). An H1 should describe the page topic; headings break content into readable sections.
  • URL slug A short, descriptive slug helps search engines and users understand the page. Replace parameter-heavy URLs with clean ones like /best-hotels-paris.

Three things that change how you approach onsite SEO

  • Search intent matter Google's systems prioritise content that matches what users actually want. A page built around a keyword alone may not rank if it lacks intent alignment.
  • Algorithm updates shift weight Older tactics like exact-match domains or specific keyword density have lost importance. Focus on usefulness and technical soundness instead.
  • AI search behaviour Google's AI overviews and other AI-driven features can change how your page is displayed. Onsite SEO now needs to consider structured data and clear, scannable answers for featured snippets.

Common questions

What is the difference between onsite SEO and offsite SEO?

Onsite SEO covers elements you control on your own website, while offsite SEO involves signals outside your site, especially backlinks and brand mentions.

Are long tail keywords still important for onsite SEO?

Yes. Long tail keywords often match specific search intent and face less competition, making them easier to target and rank for.

How are organic search results typically displayed?

Organic results appear below paid ads and feature snippets, usually as a title, URL, and meta description snippet. They are earned through SEO, not paid placement.

Sources

  1. Google Search Central: SEO Starter Guide Official guide covering title tags, headings, and other on-page elements.
  2. Ahrefs Blog: On-page SEO Detailed breakdown of on-page factors with examples and common mistakes.
  3. Semrush Blog: On-page SEO Practical guide on keyword placement, meta tags, and content structure.