On-Page SEO (Deep Understanding)

BY Sir Amaan

CONTENTS

Understanding On-Page SEO

Keyword Optimization (Advanced Level)

Title Tag Optimization (With Code)

Meta Description (With Code)

URL Structure (SEO-Friendly)

Heading Tags Structure

Affordable Chargers /#/

Content Optimization (Advanced)

Image Optimization (With Code)

Internal Linking (With Code)

Mobile Optimization

Page Speed Optimization

User Experience (UX Signals)

BONUS: Complete SEO Page Template (READY TO TEACH)

Final Takeaway

1. Understanding On-Page SEO

On-Page SEO is not just about adding keywords — it's about aligning your content with search intent, technical structure, and user experience so search engines like Google can fully understand, index, and rank your page. Think of it as: “Helping both humans AND search engines understand your content clearly.”

2. Keyword Optimization (Advanced Level)

Types of Keywords

Primary keyword

main focus

Secondary Or Long Tail keywords

variations

LSI (Latent Semantic Indexing) Or Short Tail keywords

related terms (semantic SEO)

Types of Keywords

Example

Primary Keyword (Main Focus)

The ONE main keyword you want to rank for

• Example: mobile accessories Pakistan

Secondary Or Long Tail Keywords (Variations of Primary)

These are different ways people search for the same thing.

• Examples:

• buy mobile accessories online Pakistan

• cheap mobile accessories Pakistan

• best mobile accessories in Pakistan

• mobile accessories shop Pakistan

• online mobile accessories store Pakistan

LSI Or Short Tails Keywords (Related / Supporting Terms)

These are topic-related words, not variations.

• Examples:

• chargers

• headphones

• phone cases

• power banks

• screen protectors

• mobile gadgets

Placement Strategy (IMPORTANT)

Use keywords in:

Title tag

First 100 words

H1, H2

Meta description

Image ALT text

URL

Placement Strategy (IMPORTANT)

Keyword Density Rule

• Ideal: 1–2% (natural usage) - NEVER force it.

What is Keyword Density?

• Keyword density means how many times your keyword appears compared to total words in your content.

What is Keyword Density?

Simple Formula

Keyword Density = (Keyword Count ÷ Total Words) × 100

Simple Formula

Example (Very Easy)

Suppose your article has 100 words. If you use your keyword:

1 time → 1% density

2 times → 2% density

5 times → 5% density ❌ (Too much)

Placement Strategy (IMPORTANT)

What does “1–2% natural usage” mean?

It means use your keyword a few times. Don't repeat it unnecessarily. It should feel natural while reading.

Bad Example (Keyword Stuffing)

“We sell mobile accessories in Pakistan. Our mobile accessories in Pakistan are the best mobile accessories in Pakistan…” Problem: Repeated again and again, feels robotic, bad user experience. Search engines like Google may penalize it.

Good Example (Natural Usage)

“Looking for high-quality mobile accessories in Pakistan? We offer chargers, headphones, and other essential mobile gear at greatprices.” Why this is good: Keyword used once or twice, uses LSIwords (chargers, headphones). LSI (Latent Semantic Indexing) keywords are words and phrases that are closely related to your main keyword.

3. Title Tag Optimization (With Code)

Best Practices

50–60 characters

Include keyword at start

Add emotional/CTR trigger words

HTML Code Pattern:

Best Mobile Accessories in Pakistan | Affordable Prices

4. Meta Description (With Code)

Structure Formula

Problem + Solution + CTA Code Pattern

Pro Tips

150–160 characters

Add CTA (Buy Now, Learn More)

Use keyword naturally

Meta Keywords (Reality Check + Code)

IMPORTANT: Meta keywords are deprecated and ignored by Google. Example (for learning only)

❌ Not used anymore for ranking

✅ Focus on content instead

5. URL Structure (SEO-Friendly)

Rules

Short

Keyword included

No special characters

Example:

https://example.com/mobile-accessories

6. Heading Tags Structure

Proper Hierarchy

Affordable Chargers /#/

Fast Charging Options /#/#/

Only ONE H1 per page.

h1>Best Mobile Accessories in Pakistan

Affordable Chargers

Fast Charging Options

7. Content Optimization (Advanced)

Google Loves:

Search intent match

Depth of content

Readability

Ideal Content Structure

Introduction (hook)

Problem explanation

Solution

Examples

Conclusion + CTA

8. Image Optimization (With Code)

Example:

Checklist

Use keywords in ALT

Compress images

Use WebP format

9. Internal Linking (With Code)

Example: Check our latest smartphones

Code Here

Strategy

Link to relevant pages

Use anchor text with keywords

10. Mobile Optimization

Requirements

Responsive design

Fast loading

Easy navigation

Mobile-first indexing is used by Google.

11. Page Speed Optimization

Tools

• Google PageSpeed Insights

Techniques

• Minify CSS/JS

• Lazy load images

• Use CDN

12. User Experience (UX Signals)

Important Metrics

Bounce rate

Dwell time

Click-through rate (CTR)

Better UX = better rankings.

13. BONUS: Complete SEO Page Template (READY TO TEACH)

Best Mobile Accessories in Pakistan

Looking for high-quality mobile accessories? We provide affordable and durable products.

Top Products

Check our latest smartphones.

Code Here

14. Final Takeaway

On-Page SEO is about:

Relevance

Structure

Experience

Quality

Golden Rule: “Write for humans first, optimize for search engines second.”

Thank You