What Is On-Page SEO?
On-page SEO covers every optimisation you make on your actual web pages — the content, HTML elements, and media that communicate to Google what each page is about and who it serves.
Unlike technical SEO, which focuses on site-wide infrastructure, on-page SEO operates at the individual page level. Unlike off-page SEO (backlinks and authority signals), on-page elements are completely within your control.
This makes on-page SEO the fastest SEO lever you can pull. Every improvement takes effect the moment Google re-crawls the page — no waiting for external factors.
Title Tags — The Most Important Element
The title tag is the clickable headline that appears in Google search results. It is the single most impactful on-page element for both rankings and click-through rates.
How to Write Effective Title Tags
| Rule | Example | Why |
|---|---|---|
| Include primary keyword | "SEO Services Pretoria — Expert..." | Google boldens matching keywords |
| Keep under 60 characters | 58 chars ideal | Longer titles get truncated |
| Front-load the keyword | "SEO Pricing in SA..." not "Our SA..." | Words appearing first carry more weight |
| Make it compelling | "...That Actually Work" | Drives clicks beyond ranking |
| Include your brand (if space) | "... | Symaxx" | Builds brand recognition |
Title Tag Formulas That Work
- How-to: "How to [Achieve Result] in [Context] (2026)"
- Listicle: "[Number] [Subject] That [Benefit]"
- Guide: "[Topic]: The Complete Guide for [Audience]"
- Comparison: "[A] vs [B]: Which Is Better for [Use Case]?"
Common Title Tag Mistakes
- Keyword stuffing: "SEO SEO Services SEO Agency SEO Company" — Google penalises this
- Duplicate titles: Every page must have a unique title
- Too generic: "Services" tells Google nothing useful
- Too long: Truncated titles look unprofessional and lose context
Meta Descriptions That Drive Clicks
The meta description appears below the title in search results. While not a direct ranking factor, it significantly impacts click-through rate — which indirectly affects rankings.
Writing Effective Meta Descriptions
- Length: 120–155 characters (Google truncates longer descriptions)
- Include primary keyword: Google boldens matching terms
- Lead with benefit: What does the reader gain?
- Include a call to action: "Learn how," "Discover," "Get the guide"
- Make it unique: Every page needs a distinct description
Good example:
"Learn what SEO costs in South Africa. Transparent pricing from R8k–R50k/month with real ROI benchmarks for every tier."
Bad example:
"We are an SEO company in South Africa offering SEO services. Contact us for SEO."
When Google Rewrites Your Description
Google rewrites meta descriptions approximately 63% of the time, pulling text from your page content instead. This happens when Google determines your content better matches the query than your description does.
To reduce rewrites: ensure your meta description directly addresses the primary search intent for that page.
Heading Hierarchy: H1 Through H6
Headings create a structured outline that helps both Google and users navigate your content.
The Rules
One H1 per page — always. The H1 is the primary heading, equivalent to the page's main topic. It should closely match (but not necessarily duplicate) your title tag.
Logical hierarchy:
H1: Main Topic
H2: Subtopic 1
H3: Detail under subtopic 1
H3: Another detail
H2: Subtopic 2
H3: Detail under subtopic 2
H2: Subtopic 3
Never skip levels. Going from H1 directly to H3 (skipping H2) creates a broken hierarchy that confuses Google about your content structure.
Keywords in Headings
Include your primary and secondary keywords in H2 and H3 headings naturally. Google uses heading text to understand page topics and section relevance.
Natural: "How to Improve Your Local SEO Rankings" Forced: "Local SEO Rankings SEO Improvement Local Search"
Keyword Placement — Where and How Often
Where to Place Keywords
| Location | Priority | Notes |
|---|---|---|
| Title tag | Critical | Primary keyword, front-loaded |
| H1 | Critical | Close to or matching title tag |
| First 100 words | High | Confirms topic relevance |
| H2/H3 headings | High | Secondary keywords |
| URL | High | Short, keyword-rich |
| Alt text | Medium | On relevant images |
| Body content | Medium | Natural integration throughout |
| Meta description | Medium | Not a ranking factor but bolded in SERPs |
Keyword Density Is Dead
There is no optimal keyword density percentage. Google's NLP models understand topics semantically — they recognise synonyms, related concepts, and contextual relevance.
Instead of repeating "SEO services Pretoria" ten times, write comprehensive content about SEO services in the Pretoria market. Cover related subtopics naturally. Google will understand the relevance.
Semantic Keywords and Topic Coverage
Google rewards topical completeness. For a page targeting "on-page SEO," Google expects to see coverage of:
- Title tags, meta descriptions, headings
- Content quality, keyword placement
- Internal linking, URL structure
- Images, alt text
Pages that cover the full topic surface area outrank pages that narrowly focus on one aspect. This is why thin content struggles — it fails to demonstrate comprehensive understanding.
Image Optimisation and Alt Text
Images represent both an SEO opportunity and a common pitfall.
Technical Image Optimisation
- Format: Use WebP or AVIF for photographs, SVG for icons and illustrations
- Compression: Target 80% quality for JPEG/WebP — visually identical, dramatically smaller
- Dimensions: Serve images at the actual display size, not larger
- Lazy loading: Images below the fold should load only when scrolled to
- Responsive: Use
srcsetto serve different sizes for different devices
Alt Text Best Practices
Alt text serves two purposes: accessibility (describing images for screen readers) and SEO (telling Google what the image depicts).
| Good Alt Text | Bad Alt Text |
|---|---|
| "SEO pricing tiers table showing three packages from R8k to R50k per month" | "image1.jpg" |
| "Google Search Console coverage report showing indexed pages" | "screenshot" |
| "Team discussing SEO strategy at whiteboard" | "seo seo services seo company seo agency" |
Rules:
- Be descriptive and specific
- Include keywords only when naturally relevant to the image
- Avoid keyword stuffing — Google treats this as spam
- Keep under 125 characters for screen reader compatibility
Internal Linking on Every Page
Internal links are the most underutilised on-page SEO element. They distribute ranking authority, guide user journeys, and help Google discover and understand your content structure.
Internal Linking Best Practices
Every page should link to 3–5 other relevant pages on your site. Conversely, every important page should receive internal links from multiple other pages.
Use descriptive anchor text. Instead of "click here," link with text that describes the destination: "see our SEO pricing breakdown."
Link hierarchically. Service pages should link to sub-service pages. Blog posts should link to relevant service pages. Location pages should link to service pages they're relevant to.
Link new content to existing content. Every new blog post should receive internal links from 2–3 existing pages within a week of publication.
The Hub-and-Spoke Model
Structure your content around topic hubs:
- Hub page: Your main service page (e.g., /seo)
- Spoke pages: Supporting content (blog posts, guides, case studies)
- Linking pattern: Hub links to all spokes. Each spoke links back to the hub and to 1–2 other spokes.
This creates a topical cluster that signals to Google that your site is an authority on the subject.
URL Structure Best Practices
Clean URLs improve both user experience and crawlability.
| Good URL | Bad URL |
|---|---|
/seo/technical-seo |
/services/seo-services/sub-page?id=372 |
/blog/seo-costs-south-africa |
/blog/2024/03/15/post-id-8372 |
/industries/legal |
/page.php?category=industries&subcategory=legal |
URL rules:
- Use hyphens as word separators (not underscores)
- Keep under 60 characters where possible
- Include the primary keyword
- Use lowercase only
- Avoid parameters, session IDs, and timestamps
- Keep the path shallow (3 levels maximum: domain/section/page)
Content Quality Signals
Google's Helpful Content system evaluates whether your content provides genuine value or exists purely for rankings.
E-E-A-T: Experience, Expertise, Authority, Trust
Google evaluates content quality through the E-E-A-T framework:
- Experience: Has the author actually done what they're writing about?
- Expertise: Does the author have demonstrated knowledge?
- Authority: Is the site recognised as an authority on this topic?
- Trust: Are claims supported? Is the site secure? Are there contact details?
For YMYL (Your Money or Your Life) topics — health, finance, legal — Google applies stricter E-E-A-T standards.
Actionable Content Quality Checklist
- Does the content comprehensively address the search query?
- Is the information accurate and up-to-date?
- Does the author have relevant credentials or experience?
- Is there original analysis, data, or perspective?
- Would you trust this page for important decisions?
- Does the page load fast and work on mobile?
For a comprehensive understanding of how content quality connects to broader optimisation, our SEO resource documentation covers E-E-A-T implementation in depth.
On-Page SEO Checklist
Use this for every page you publish or optimise:
| Element | Check |
|---|---|
| Title tag | ≤60 chars, includes primary keyword, unique |
| Meta description | ≤155 chars, benefit-led, unique |
| H1 | One per page, includes keyword |
| H2/H3 structure | Logical hierarchy, keywords in subheads |
| First 100 words | Primary keyword appears naturally |
| Images | Compressed, alt text on all, lazy loaded |
| Internal links | 3–5 links to relevant pages |
| URL | Short, hyphenated, keyword-rich |
| Content depth | Comprehensively addresses search intent |
| Mobile | Readable and functional on all devices |
Frequently Asked Questions
What is the most important on-page SEO element?
The title tag. It has the strongest correlation with rankings of any on-page element and directly controls how your page appears in search results. Get this right first.
How many keywords should I target per page?
One primary keyword and 3–8 secondary/related keywords. Each page should have a clear primary topic. Trying to target too many unrelated keywords dilutes relevance.
Does keyword density still matter?
No. Google uses semantic understanding, not word counting. Write naturally, cover the topic comprehensively, and keywords will appear at appropriate frequency organically.
Should I optimise old content or create new content?
Both. Refreshing and optimising existing pages often produces faster results than creating new content from scratch. Audit your top 20 pages first, then create new content to fill gaps.
How do internal links affect SEO?
Internal links pass ranking authority (PageRank) between pages and help Google discover content. Pages with more internal links from relevant sources rank better than orphaned pages. Learn more about link strategy in our comprehensive SEO approach.
What's the ideal blog post length?
There's no universal ideal. Match the depth to the search intent. A "what is X" query may need 800 words. A comprehensive guide may need 3,000. Analyse what's ranking for your target keywords and match or exceed that depth. See our SEO pricing page for how content production factors into SEO investment.
Conclusion
On-page SEO is the most controllable SEO lever available. Unlike backlinks (which depend on others) and algorithm updates (which depend on Google), on-page elements are entirely within your control and take effect quickly.
Focus on the high-impact elements first — title tags, H1 headings, and search intent alignment. Then systematically work through content quality, internal linking, and image optimisation. Every page you optimise moves you closer to page one.
