SEO & Growth Hacking with AIModule 2

2.1Technical SEO Audit with AI — PageSpeed, Core Web Vitals & Schema

30 min 7 code blocks Practice Lab Quiz (4Q)

Technical SEO Audit

A beautiful website with great content will not rank if its technical foundation is broken. Google cannot crawl it, users bounce due to slow load times, and mobile users see a broken layout. In 2026, technical SEO is the non-negotiable baseline — every other optimization layer (content, links, meta tags) depends on it working. This lesson teaches you to conduct a thorough technical SEO audit using Screaming Frog, Google Search Console, PageSpeed Insights, and AI-guided analysis, so you can find and fix the exact issues blocking your rankings.

The 12-Point Technical SEO Checklist

Every website must pass these 12 checks before any other SEO work makes sense. Use this as your audit framework:

code
TECHNICAL SEO AUDIT CHECKLIST
├── CRAWLABILITY
│   ├── (1) XML Sitemap          → yoursite.com/sitemap.xml must return 200
│   ├── (2) Robots.txt           → yoursite.com/robots.txt must allow Googlebot
│   └── (3) Canonical Tags       → every page must declare its canonical URL
├── SPEED & PERFORMANCE
│   ├── (4) PageSpeed Score      → target 75+ on mobile, 85+ on desktop
│   ├── (5) Core Web Vitals      → LCP < 2.5s, INP < 200ms, CLS < 0.1
│   └── (6) Hosting / CDN        → SSD hosting + Cloudflare CDN minimum
├── SECURITY & INDEXING
│   ├── (7) HTTPS / SSL          → all pages must serve over https://
│   ├── (8) Meta Robots Tags     → noindex only on admin / thank-you pages
│   └── (9) Search Console Link  → HTTPS property verified and sitemap submitted
├── STRUCTURE
│   ├── (10) Internal Linking    → every page linked from at least 3 other pages
│   ├── (11) Broken Links        → zero 404 errors on live pages
│   └── (12) Structured Data     → JSON-LD schema present on key content types

Detailed Check-by-Check Guide

(1) XML Sitemap Go to yoursite.com/sitemap.xml. A 404 means Google has no map of your site. On WordPress, install Yoast SEO (free) and enable XML Sitemap in settings. On non-WordPress sites, use the free XML Sitemap Generator at xml-sitemaps.com. After generating, submit it in Google Search Console under Sitemaps. Resubmit every time you publish a major batch of new pages.

(2) Robots.txt Go to yoursite.com/robots.txt. This file tells Google what to crawl. The correct default:

code
User-agent: *
Allow: /
Disallow: /admin/
Disallow: /login/
Disallow: /cart/
Sitemap: https://yoursite.com/sitemap.xml

Never disallow your CSS or JavaScript files — Google needs them to render your pages correctly.

(3) Canonical Tags Every page must have a canonical tag in the HTML <head>:

html
<link rel="canonical" href="https://yoursite.com/your-page-url" />

This prevents duplicate content penalties when the same page is accessible via multiple URLs (with/without www, with/without trailing slash, with URL parameters). Yoast SEO on WordPress adds these automatically.

(4) PageSpeed Score Test at pagespeed.web.dev. Input your URL. Aim for:

Score RangeStatusAction
90 — 100ExcellentMonitor monthly
75 — 89GoodFix remaining issues gradually
50 — 74Needs workFix before any link building
0 — 49CriticalFix before publishing new content

The most impactful fixes in order of effort-to-impact: image compression, defer render-blocking scripts, enable browser caching, upgrade hosting.

(5) Core Web Vitals Google's three signal metrics:

MetricFull NameGoodNeeds ImprovementPoor
LCPLargest Contentful Paint< 2.5s2.5s — 4.0s> 4.0s
INPInteraction to Next Paint< 200ms200 — 500ms> 500ms
CLSCumulative Layout Shift< 0.10.1 — 0.25> 0.25

LCP is usually the biggest problem on Pakistani sites — large hero images loading slowly. Fix: compress with TinyPNG, serve via Cloudflare CDN, use loading="lazy" on below-fold images.

(6) Hosting and CDN Pakistani hosting on shared servers (PakHost, HostBreak, etc.) often delivers 4-8 second load times. Solutions by budget:

OptionProviderCostLoad Time Improvement
CDN onlyCloudflare FreePKR 0/month30-50% faster
SSD hostingHostinger BusinessPKR 700/month50-60% faster
SSD + CDNCloudflare Pro + HostingerPKR 3,500/month60-75% faster
Cloud hostingDigitalOcean + CloudflarePKR 5,600/month70-80% faster

(7) HTTPS / SSL Your site must start with https://, not http://. Google penalizes non-HTTPS sites in rankings and Chrome marks them as "Not Secure." Free SSL from Let's Encrypt is available on all major hosts — just enable it in your hosting control panel. Cost: PKR 0.

(8) Meta Robots Tags Pages that should never appear in Google (admin, thank-you, cart, checkout, duplicate filter pages) must have:

html
<meta name="robots" content="noindex, nofollow" />

Do NOT accidentally noindex your blog or product pages — this is a common error that kills SEO overnight.

(9) Google Search Console Setup Go to search.google.com/search-console. Add your HTTPS property (not HTTP). Verify via DNS record or HTML file. Submit your sitemap. Once verified, Search Console shows you: which pages are indexed, which keywords you rank for, which pages have crawl errors, and Core Web Vitals data from real users. This is your most important free SEO tool.

(10) Internal Linking Every page should receive at least 3 internal links from other pages. Use Search Console → Links → Internal Links to identify orphaned pages (zero internal links). Orphaned pages rarely rank because Google has no path to discover and prioritize them.

(11) Broken Links Use Screaming Frog (free version crawls up to 500 URLs) or the free Broken Link Checker at brokenlinkcheck.com. Find all 404 errors. Fix by either restoring the missing page or adding a 301 redirect to the correct URL. A site with broken links signals poor maintenance to Google.

(12) Structured Data (Schema Markup) JSON-LD schema tells Google what type of content your page contains. Common types:

code
SCHEMA TYPES BY PAGE
├── Blog Post       → Article schema (author, date, headline)
├── Product Page    → Product schema (price, availability, rating)
├── Local Business  → LocalBusiness schema (address, phone, hours)
├── FAQ Section     → FAQPage schema (gets rich result in SERP)
└── How-To Guide    → HowTo schema (step-by-step SERP display)

On WordPress, Yoast SEO adds basic schema automatically. For advanced schemas (Product, FAQ, HowTo), use Schema Pro plugin (PKR 7,000/year) or generate manually at schema.org/docs/gs.html.

Step-by-Step Audit Process

code
AUDIT WORKFLOW — 4 HOURS TOTAL
│
├── HOUR 1: SETUP & DATA COLLECTION
│   ├── Verify Google Search Console is set up (HTTPS property)
│   ├── Submit XML sitemap if not already submitted
│   ├── Run PageSpeed test on homepage + 5 top pages
│   └── Run Screaming Frog crawl (File → New → enter domain)
│
├── HOUR 2: CRAWL ANALYSIS (Screaming Frog)
│   ├── Filter: Response Codes → show 4xx errors (broken pages)
│   ├── Filter: Page Titles → check for missing, duplicate, too long
│   ├── Filter: H1 → check for missing or duplicate H1s
│   └── Export: All issues to CSV for audit report
│
├── HOUR 3: FIXES (Most Impactful First)
│   ├── Compress all images via TinyPNG (free, drag and drop)
│   ├── Enable Cloudflare (free plan, 5 min setup, instant CDN)
│   ├── Fix all 4xx broken links (redirect or restore)
│   └── Fix missing title tags and H1s from Screaming Frog export
│
└── HOUR 4: VERIFY & DOCUMENT
    ├── Re-run PageSpeed — document before/after scores
    ├── Resubmit sitemap in Search Console
    ├── Build audit spreadsheet (12 checks × Pass/Fail/Priority)
    └── Set monthly reminder to re-audit in 30 days

Screaming Frog: Your Free Crawl Engine

Screaming Frog is the industry-standard SEO crawler. The free version crawls up to 500 URLs and finds:

What It FindsWhere in Screaming FrogFix
Broken links (404)Response Codes tabRedirect or restore
Missing title tagsPage Titles tabAdd unique 50-60 char title
Duplicate titlesPage Titles tab → sort by titleRewrite duplicates
Missing H1H1 tabAdd primary keyword H1
Large imagesImages tab → sort by sizeCompress via TinyPNG
Redirect chainsResponse Codes → 3xxCollapse chains to single redirect

Download at screaming frog.co.uk/seo-spider (the free version is sufficient for sites under 500 pages).

Common Pakistan-Specific Issues

Pakistani websites face specific technical challenges distinct from global sites:

Slow Hosting: Most Pakistani hosts use older servers. Fix: Move to Hostinger Business (PKR 700/month) or add Cloudflare CDN (free). Cloudflare alone reduces load time by 30-50%.

Mobile-First is Not Optional: 87% of Pakistani internet users access via mobile (GSMA 2026 data). If your site is not mobile-responsive, you are invisible to the majority of your audience. Test on actual Android phones (budget Samsungs, Xiaomi, Oppo), not just desktop Chrome's mobile simulator.

Urdu / Roman Urdu Content and Encoding: Pages with Urdu text must declare UTF-8 encoding in the HTML head:

html
<meta charset="UTF-8" />

Without this, Urdu characters render as broken symbols and Google cannot index the text correctly.

Image-Heavy Sites: Pakistani clothing, food, and real estate sites load dozens of high-resolution images. Every image above the fold should have loading="eager". Every image below the fold must have loading="lazy". This alone can drop LCP by 1-2 seconds.

Practice Lab

Practice Lab

Task 1: Full Technical Audit Spreadsheet Conduct a complete technical audit of your website or a competitor's site. Build a spreadsheet with all 12 checklist items from this lesson. For each item, record: Pass or Fail, current measured value, target value, specific fix required, and estimated effort in hours. Sort by impact — speed and crawlability issues are always highest priority. Total your estimated fix hours at the bottom.

Task 2: Fix Top 3 Issues and Measure Impact Implement fixes for your three highest-priority issues (typically: image compression, CDN setup, fix broken links). Re-run PageSpeed Insights after each fix. Document: score before first fix, score after each subsequent fix, and final score after all three. The improvement from a well-executed technical audit is typically 15-30 PageSpeed points on mobile.

Task 3: Screaming Frog Crawl Export Download Screaming Frog (free) and crawl your site. Export the full crawl to CSV. In the export, find and highlight in red: all 404 pages, all pages with missing title tags, all pages with missing H1. These three columns represent your most urgent on-page technical fixes. Submit the annotated export as your task deliverable.

Pakistan Case Study

Zara Ahmed runs an online abaya store from Karachi targeting DHA and Clifton customers. After completing the SEO module at AI School Pakistan, she ran her first technical audit and was shocked.

Her PageSpeed mobile score was 31/100. Her site had 47 broken product links (old items removed but links still live on the homepage). She had no sitemap submitted to Search Console. Her hosting was a shared Pakistani server with no CDN.

"Yaar, mujhe laga content hi sab kuch hai — lekin code ki bunyad bilkul kharab thi."

She spent one weekend: compressed 200 product images via TinyPNG, enabled Cloudflare free plan, submitted a new sitemap, and redirected all 47 broken links to the correct category pages.

Results after 30 days:

  • PageSpeed mobile: 31 → 69
  • Google-indexed pages: 48 → 312 (Search Console found and indexed previously uncrawled pages)
  • Organic clicks: 180/month → 890/month
  • Revenue increase: PKR 0 (month 0) to PKR 95,000/month within 60 days

Total cost of fixes: PKR 0 (Cloudflare free, TinyPNG free, Yoast SEO free).

Key Takeaways

  • Technical SEO is the foundation — content and links built on a broken technical base deliver minimal results
  • The 12-point checklist covers crawlability, speed, security, and structure — all four areas must pass before scaling other SEO work
  • Screaming Frog free tier (500 URLs) finds broken links, missing titles, duplicate H1s, and redirect chains in one crawl
  • PageSpeed Insights and Google Search Console are free tools that together diagnose 80% of technical issues
  • Core Web Vitals (LCP, INP, CLS) are Google ranking signals — poor scores directly suppress rankings regardless of content quality
  • Pakistani sites face specific challenges: slow shared hosting, high mobile usage (87%), and image-heavy layouts — each has a low-cost fix
  • Image compression (TinyPNG) and Cloudflare CDN (free) are the two highest-impact, zero-cost technical fixes available
  • Canonical tags and proper robots.txt configuration prevent duplicate content penalties that silently kill multi-page sites
  • A structured audit spreadsheet turns a vague "site is slow" problem into a prioritized, actionable fix list
  • Re-audit monthly — Google Search Console continuously reports new crawl errors as your site changes

Lesson Summary

Includes hands-on practice lab7 runnable code examples4-question knowledge check below

Technical SEO Audit Quiz

4 questions to test your understanding. Score 60% or higher to pass.