I wrote seven posts and attached a domain. Next up was getting the site indexed by search.
Static sites make this part simple. There's no server doing anything, so once it's all in the build output, you're done. But if you miss something, it just quietly stays missing.
What I Added
robots.txt
User-agent: *
Allow: /
Sitemap: https://devtoolstack.bid/sitemap-index.xml
Putting the sitemap URL here means crawlers can find it even without registering with search engines. Registration is for checking status, not a prerequisite for being crawled.
Sitemap
It's generated automatically at build time. Open it up and there are two tiers.
<sitemapindex>
<sitemap><loc>https://devtoolstack.bid/sitemap-0.xml</loc></sitemap>
</sitemapindex>
The index being a single line made me think something was missing at first. It wasn't. Each file holds up to 45,000 entries before splitting, and this index is built in advance for when that split happens. Right now there's only one shard, so it's one line.
At the time of writing, the actual listing had 22 entries — 7 posts × 2 languages, plus home, history, privacy policy, and tags × 2. As more posts get added, this number climbs automatically with every build.
I deliberately left individual tag pages out. Tag pages with only one or two posts are too thin to be worth showing up in search results. I kept them for navigation but blocked indexing and excluded them from the sitemap.
Each Post's Head
<link rel="canonical" href="https://devtoolstack.bid/posts/…/">
<link rel="alternate" hreflang="ko" href="…">
<link rel="alternate" hreflang="en" href="/en/…">
<link rel="alternate" hreflang="x-default" href="…">
canonical is a declaration that says "this is the official URL for this content." It consolidates things when the same post is reachable via multiple URLs.
hreflang signals that the Korean and English versions are two languages of the same post. Without it, the two could get treated as duplicate content. x-default decides what to show for every other locale.
Two Things I Got Wrong
The Structured Data's Image URL Was Relative
This is the part that gets a thumbnail attached to search results.
og:image → https://devtoolstack.bid/media/cover-s7.jpg?v=3a9a9bfe ✅
JSON-LD → /media/cover-s7.jpg?v=3a9a9bfe ⚠️
Same value, but only one side was an absolute URL. The layout code resolves it to an absolute path, but the structured data was using the value from before that resolution.
Google will resolve it relative to the page URL anyway, but the spec requires an absolute URL. Get it wrong and the thumbnail might not show up at all. Fixed it with a one-line wrap.
Got Stuck Submitting the Sitemap
I entered the sitemap path into the search engine console and got "invalid URL." The URL itself was fine.
It was a property type issue.
| Property type | Input field | Value to enter |
|---|---|---|
| URL prefix | Domain is pre-filled in gray before the field | Path only |
| Domain | No prefix | Full URL |
A Domain property covers http/https, with or without www, and all subdomains at once. Since it can't know which exact URL you mean, it expects the full thing. You can tell the two apart by whether there's gray text to the left of the input field.
States You Don't Need to Panic About
After registering, a few items show up in red, and most of them are perfectly normal.
"Couldn't fetch" — shows up right after submission. It's not that it tried to read the page and failed, it's that it hasn't read it yet. You can tell because "last crawled" on the same row is blank. Resubmitting just sends you to the back of the queue.
"Page with redirect" — a URL without a trailing slash redirecting to one with a trailing slash. That's just default hosting behavior, and it prevents the same page from getting indexed twice under two URLs. Search engines index the destination, not the origin.
/privacy → 308 → /privacy/
/index.html → 308 → /
http://… → 301 → https://…
"Crawled — currently not indexed" — it's been read, but a decision on whether to include it hasn't been made yet. New domains go through this almost without exception. It's not a quality issue, it's just that trust hasn't built up yet.
There's Nothing Left to Do
The question I had going in: do I need to resubmit every time I publish a new post?
No. The sitemap is a dynamic file that gets regenerated on every build. Publish a post, the site rebuilds, and the new URL is already in there. Search engines remember the URL they were given and come back to re-read it periodically.
There's also a manual "request indexing" feature, but that's for when you're in a hurry, not routine use. The daily quota is only around a dozen requests anyway, so you couldn't use it for every post even if you wanted to. With just the sitemap, you get the same result — only the timing differs.
Write the post, publish it, and you're done. There's no repeat task.



