DEV Community

Cover image for What is a Sitemap? (And Why You Need Two Kinds)
Oliver Revelo
Oliver Revelo

Posted on • Originally published at oliverrevelo.com

What is a Sitemap? (And Why You Need Two Kinds)

A sitemap is a blueprint of your website. This guide explains the two types: the visual sitemap (for planning your UX) and the XML sitemap (for helping Google's SEO). Learn why you need both.

If you've ever been part of a website project, you've almost certainly heard the word "sitemap." But it can be a confusing term, because as a web developer in the Philippines, I actually deal with two very different kinds of sitemaps: one for humans (for planning) and one for search engines (for SEO).

Both are essential for a successful website, but they have completely different purposes. Let's break down the difference in simple terms.

1. The Visual Sitemap (For Humans & Planning)

This is the sitemap we create during the discovery phase, long before we write any code. A visual sitemap is a simple flowchart or diagram that shows the structure of your website. It's the "blueprint" of all your pages and how they connect to each other.

It looks something like this:

Home
├── About Us
├── Services
│   ├── Service A
│   └── Service B
├── Blog
│   ├── Blog Post 1
│   └── Blog Post 2
└── Contact
Enter fullscreen mode Exit fullscreen mode

Why it's crucial: This sitemap is for you, the client, and me, the developer. It helps us plan the user experience (UX), ensure the navigation is logical, and confirm that we haven't forgotten any important pages before we start building.

2. The XML Sitemap (For Google & SEO)

This is a completely different thing. An XML sitemap is a code file, usually located at yourwebsite.com/sitemap.xml, that is written for search engines like Google, not for humans.

You can think of it as a "road map" you give directly to Google's crawlers. It provides a complete list of every single important page on your website, making it easier for Google to find, crawl, and index all of your content.

Why it's crucial: This sitemap is purely for Search Engine Optimization (SEO). It is especially important for:

  • Large Websites: If you have thousands of products or blog posts, an XML sitemap ensures Google finds them all.
  • New Websites: For a new site with few external links, it's the fastest way to tell Google, "Hey, I'm here!"
  • Content-Heavy Sites: It tells Google when you've updated a page, encouraging it to re-crawl your site for fresh content.

For any web developer in the Philippines serious about SEO, automatically generating an XML sitemap and submitting it to Google Search Console is a standard, non-negotiable step in my launch checklist.

Do You Need Both?

Yes, absolutely.

You need the Visual Sitemap at the beginning of your project to plan a smart, user-friendly website.

You need the XML Sitemap at the end of your project (and automatically updated forever) to promote your great site to Google and get found by customers.

Understanding the two types of sitemaps demystifies the web design process. One is a strategic blueprint for us, and the other is a technical road map for search engines. A professional web developer will create and use both to ensure your project is a success from planning to launch and beyond.

Top comments (0)