Logo

I Added a Sitemap. Google Finally Found My Blog.

Small change. Immediate feedback.

I’ve been running this site for a while now. Writing posts, building in public, documenting what I’m learning. But for most of that time, Google had only indexed one page — the homepage.

Not the blog. Not any of the posts. Just the front door.

I knew something was off. The content existed. The site was live. But from Google’s perspective, most of it simply didn’t exist.

The fix turned out to be embarrassingly straightforward.

What a Sitemap Actually Is

A sitemap is a file that tells search engines what pages exist on your site.

Without one, Google has to find your pages by following links — crawling from one page to the next, hoping it discovers everything. On a simple site, that works fine. But the moment you have a blog, a nested structure, or pages that aren’t heavily linked from the homepage, things slip through.

Google isn’t being lazy. It’s just working with the information it has. A sitemap is you handing it a map instead of making it explore.

What Was Happening on My Site

Before the sitemap, Google Search Console showed one indexed page: the homepage.

Every blog post I’d written — nothing. Not crawled, not indexed, not showing up anywhere.

The posts were reachable if you knew the URL. But Google didn’t know the URLs existed. So as far as search was concerned, the blog wasn’t there.

The Fix

Astro has a first-party sitemap integration that takes about five minutes to set up.

You install it, add a line to your config, and the next time you build — there’s a sitemap-index.xml sitting at the root of your site. It lists every page, automatically, including every blog post.

Then you go into Google Search Console and submit the sitemap URL. You tell Google: here’s the map, go crawl it.

That’s it.

What Happened After

Within a few days, Search Console started showing activity on the blog pages. Pages that had never been crawled before were getting picked up.

Before the sitemap: 1 indexed page — the homepage.

After: 2 indexed pages and climbing.

That might sound small. But it means Google now knows the blog exists. The posts are in the queue. They’re findable.

One indexed blog post is infinitely more than zero.

Why This Matters Beyond Just SEO

This is one of those things that’s easy to skip when you’re focused on building.

You write the post, ship it, and move on. The idea that Google might not even know it exists feels strange — the URL works, the page loads, what’s the problem?

But publishing something and making it discoverable are two different things.

A sitemap is the bridge between the two. It’s a small piece of infrastructure that compounds quietly — every new page you add gets picked up faster, indexed sooner, and has a real chance of being found.

I should have set it up earlier. But it’s done now.

And the blog is finally on the map.