Duplicate Titles SEO Issue - Solution Guide

🚨 The Problem

You have 88 pages with identical titles, which is severely hurting your SEO:

šŸ” Step 1: Identify Duplicate Titles

Run this command to scan all your posts:

cd C:\dev\itblogpros
node find-duplicate-titles.js

This will:

Example Output:

šŸ”“ DUPLICATE TITLES FOUND:

1. "Best Router for Virgin Media"
   Used by 3 files:
   - 2021-09-08-best-router-for-virgin-media.md
   - 2021-09-30-best-router-for-virgin-media-asus.md
   - 2022-01-18-best-router-for-virgin-media-2022.md

šŸ’” Step 2: Get Smart Suggestions

After finding duplicates, run:

node suggest-unique-titles.js

This will analyze each duplicate and suggest unique titles based on:

Example Suggestions:

šŸ“„ 2021-09-08-best-router-for-virgin-media.md
   Suggested unique titles:
      1. "Best Router for Virgin Media (2021)"
      2. "Best Router for Virgin Media - Better Than Super Hubs"
      3. "The Ultimate Best Router for Virgin Media Guide"

āœļø Step 3: Update Titles Manually

For each duplicate, choose a unique title and update the file:

Option A: Edit Files Directly

Open each file and update the title in the front matter:

---
layout: layout.njk
title: "Best Router for Virgin Media (2021)"  ← UPDATE THIS
description: "Your description here"
date: 2021-09-08
tags: ["post", "router", "virgin-media"]
---

Option B: Use Batch Update Script

I'll create a script that can update multiple files at once. Create a file called title-updates.json:

{
  "updates": [
    {
      "file": "2021-09-08-best-router-for-virgin-media.md",
      "newTitle": "Best Router for Virgin Media (2021)"
    },
    {
      "file": "2021-09-30-best-router-for-virgin-media-asus.md",
      "newTitle": "Best Router for Virgin Media: ASUS RT-AC86U Review"
    }
  ]
}

Then run:

node update-titles.js

šŸ“‹ Best Practices for Unique Titles

āœ… DO: Make Each Title Unique

Good Examples:

Bad Examples (Too Similar):

šŸŽÆ Strategies for Uniqueness

1. Add Year:

2. Add Specificity:

3. Add Context:

4. Add Brand/Model:

5. Add Use Case:

šŸ“ Title Writing Formula

Format: [Primary Keyword] + [Differentiator] + [Year/Context]

Examples:

Virgin Media WiFi Fix + for Hub 4 + 2022
= "Virgin Media WiFi Fix for Hub 4 (2022)"

Best Mesh WiFi + for Virgin Media + Complete Guide
= "Best Mesh WiFi for Virgin Media: Complete Guide"

Router Lights + What They Mean + Virgin Hub 3
= "Virgin Hub 3 Router Lights: What They Mean"

šŸ› ļø Common Duplicate Patterns & Fixes

Pattern 1: Same Topic, Different Years

Problem:

- 2021-01-15-powershell-version.md → "Check PowerShell Version"
- 2022-03-20-powershell-version.md → "Check PowerShell Version"
- 2023-08-10-powershell-version.md → "Check PowerShell Version"

Fix:

- "How to Check PowerShell Version Windows 10 (2021)"
- "Check PowerShell Version: Updated Guide (2022)"
- "Find Your PowerShell Version in 2023"

Pattern 2: Same Product, Different Models

Problem:

- best-virgin-router-1.md → "Best Router for Virgin Media"
- best-virgin-router-2.md → "Best Router for Virgin Media"
- best-virgin-router-3.md → "Best Router for Virgin Media"

Fix:

- "Best Router for Virgin Media 2025"
- "Best Third-Party Router for Virgin Media"
- "Top 5 Virgin Media Compatible Routers"

Pattern 3: Generic "How To" Guides

Problem:

- wifi-troubleshooting-1.md → "WiFi Troubleshooting Guide"
- wifi-troubleshooting-2.md → "WiFi Troubleshooting Guide"

Fix:

- "WiFi Troubleshooting Guide for Beginners"
- "Advanced WiFi Troubleshooting: Pro Tips"
- "WiFi Troubleshooting for Virgin Media Users"

āœ… Verification Checklist

After updating titles, verify they're unique:

šŸš€ Step 4: Deploy and Monitor

Deploy Changes

# Build the site
npx @11ty/eleventy

# Deploy (use your deployment method)
# e.g., git push, FTP upload, etc.

Monitor Results

Google Search Console:

  1. Go to Search Console
  2. Check "Enhancements" → "HTML improvements"
  3. Look for "Duplicate title tags" issue
  4. Should show 0 errors after Google re-crawls

Expected Timeline:

šŸ“Š Impact on SEO

Before Fix:

After Fix:

Expected Improvements:

šŸ”§ Automated Update Script

Create this script to batch-update titles:

// update-titles.js
const fs = require('fs');
const path = require('path');

// Load your updates
const updates = require('./title-updates.json');

updates.forEach(update => {
  const filePath = path.join(__dirname, 'posts', update.file);
  let content = fs.readFileSync(filePath, 'utf8');
  
  // Replace the title in front matter
  content = content.replace(
    /title:\s*["'].*?["']/,
    `title: "${update.newTitle}"`
  );
  
  fs.writeFileSync(filePath, content);
  console.log(`āœ… Updated: ${update.file}`);
});

console.log(`\n✨ Updated ${updates.length} titles!`);

šŸ’¬ Need Help?

If you're stuck on:

Just ask! I can help with:


Ready to fix? Start with Step 1: node find-duplicate-titles.js