Part 4 of 4 in the Build a Website With Claude series. Part 1, Plan it · Part 2, Build it · Part 3, Put it online

To get a website built with Claude onto Google, give every page a clear title and description, add a sitemap and a robots.txt file, and add a little structured data. Then verify the site in Google Search Console and submit your sitemap there. Claude can write all of it from your existing files. Your job is checking that it describes your site the way a searcher would.

Your site should already be live at your own address. That’s what Part 3 covered. This post also has an optional section on adding an email signup form, and it ends with a simple routine for keeping the site current.

What version one of “found” looks like

Version one is a site Google can crawl, understand, and list. You won’t rank for big search terms in week one, and no file you add will make you. What you can control is whether Google can read your pages, whether each page says clearly what it’s about, and whether you’ll know when something breaks. Search Console is how you’ll know.

Step 8. Add titles, meta descriptions, a sitemap, robots.txt, and structured data

This step adds the parts of your site that search engines read but visitors mostly don’t see. Much of it lives in the head of each page (the hidden section at the top of the file) or in small files at the top level of your site folder.

The head of one of my blog posts in view-source
The head of one of my blog posts in view-source. It holds the title, the description, and a canonical link (a tag that tells Google which address is the main version of a page).

Page titles

The title is the clickable blue line in Google results and the text in the browser tab. Google’s title guidance asks for titles that are descriptive, concise, and different on every page, without repeated keywords. Google doesn’t set a character limit, but it cuts long titles to fit the screen. Keeping titles around 60 characters is a common habit that keeps them readable in results.

Meta descriptions

A meta description is a one- or two-sentence summary of the page. Google’s snippet guidance says it often writes the snippet under your title from your page content, and uses your meta description when that describes the page better. Write each one for a person deciding whether to click, and make each page’s description different. A list of keywords is less likely to be shown.

Sitemap

A sitemap.xml file lists the pages you want Google to find. Google’s sitemap guide says you can submit it in Search Console or point to it from robots.txt, and that a sitemap is a hint, not a guarantee. Google ignores the priority and change-frequency fields some generators add. My post on what a sitemap.xml file is goes deeper.

My sitemap in a browser
My sitemap in a browser. It lists every page I want found, with its full address.

robots.txt

A robots.txt file sits at the top level of your site and tells crawlers which pages they may visit. Google says it has to live at the root, like yoursite.com/robots.txt, and is “not a mechanism for keeping a web page out of Google” (robots.txt intro). For a small site, it usually allows everything and points to your sitemap. My robots.txt explainer covers the AI crawler side of it.

Kan: Is my robots text correctly setup? It seems that anytime I ask Claude to get info from my blog page it can never access the links.

Claude: Your robots.txt is set up correctly, and I don’t think it’s causing the problem. When Claude can’t open a link, the cause is almost certainly the tool or session it’s running in.

Edited for length.

I’d assumed my robots.txt was blocking something. Claude checked the file and tested the pages before answering. Asking Claude to check instead of guess is a habit worth keeping for every part of this post.

Structured data

Structured data is a short block of code that describes your page in a format search engines read easily, like who runs the site and what it’s about. Google recommends a format called JSON-LD and is clear that adding it doesn’t guarantee any special search feature. Test it with Google’s Rich Results Test after you upload. My schema markup explainer has more.

Your research first

Claude can guess what people search, but you know your customers. Before the prompt, write down 3 to 5 phrases someone would type to find you. Start typing each one into Google and look at the suggestions that drop down. Those come from real searches. A local business should include the town, like “mobile dog grooming Tacoma.”

The prompt

Step 8 prompt 1
Read CLAUDE.md and every page in this folder. My site's address is [YOUR WEB ADDRESS]. Help me get the site ready for Google. Propose everything first, and don't change or create any files until I approve. 1. Page titles. Propose a title for each page that says what the page is, uses words a visitor would search, and ends with my site name. Make each one different. 2. Meta descriptions. Propose a one- or two-sentence summary for each page, written for a person deciding whether to click. Don't stuff keywords. 3. Sitemap. Propose a sitemap.xml that lists every public page with its full address. List the homepage as the bare address ending in a slash. Leave out the 404 page, and leave out lastmod dates. 4. robots.txt. Propose a robots.txt that allows search engines to crawl the site and points to the sitemap. 5. Structured data. Propose one block of JSON-LD (a short code block that tells search engines who runs the site) for the homepage, using only facts from CLAUDE.md. Mark anything you need from me as [NEEDED]. Here are the words I think people would search to find me: [3 TO 5 PHRASES, OR "SUGGEST SOME AND I'LL CHECK THEM"] Show the titles and descriptions as a table so I can edit them. After I approve, apply everything, including the JSON-LD, and add the approved titles and descriptions to CLAUDE.md. If you can't save files where I'm working, give me each full file and its file name instead.

What to check

  • Every title is different and says what that page is. “Home” and “Services” alone tell Google nothing.
  • Descriptions read like a person wrote them. If one reads like a keyword list, rewrite it in your own words.
  • The sitemap uses your real address with https, and doesn’t include the 404 page.
  • No [NEEDED] spots are left in the JSON-LD before you upload.
  • Nothing invented. Structured data with a fake address or fake reviews is worse than none.

If it needs another round

Edit the table directly in your reply. “Change the Services title to Mobile Dog Grooming Services in Tacoma. Keep the rest.” Approve the parts you like and send the rest back. After you upload the new files, visit yoursite.com/robots.txt and yoursite.com/sitemap.xml in a browser to confirm they’re live.

Checkpoint. Every page has a unique title and description, and your sitemap.xml, robots.txt, and structured data are uploaded.

Set up Google Search Console and Analytics

Google Search Console shows how your site appears in Google, including which searches show it, which pages are indexed, and what’s broken. Google Analytics shows what visitors do once they arrive. Search Console matters more for getting found. Analytics is optional for version one. My post on what Google Search Console is covers the reports in more detail.

My Search Console overview
My Search Console overview. The numbers don’t matter here. What matters is that you’ll see yours once you’re set up.

Domain or URL-prefix property in Search Console

When you add your site, Google asks you to pick a property type. Google’s add a property guide explains the difference.

  • Domain property. It covers every version of your address, with and without www and with http or https. You verify it by adding a DNS record (a setting in your domain account) that Google gives you.
  • URL-prefix property. It covers only addresses that start with the exact prefix you enter, like https://yoursite.com/. You get more ways to verify, including uploading a small file to your site.

Domain is the more complete choice if you can reach your domain settings. If DNS feels like too much, URL-prefix works. Either way, once you’re verified, open Sitemaps in Search Console and submit your sitemap address. Google says data typically shows up within a few days.

How to add Google Analytics to your website

Per Google’s Analytics setup guide, you create a property, add a web data stream for your site address, and copy the Google tag, which comes with a measurement ID that starts with G-. The tag goes in the head of every page. Data can take up to 30 minutes to start showing.

Remember the privacy page from Part 2. Google’s Analytics terms require you to disclose that you use it, so update your privacy page when you add the tag.

Step 8 prompt 2
I set up Google Analytics and have a measurement ID that starts with G-. Here it is: [YOUR G- ID] Read CLAUDE.md. Then add the Google tag to the head of every page in this folder, right after the opening head tag, using the standard snippet from Google. Then: 1. List every page you changed, and note the measurement ID in CLAUDE.md. 2. Check that no page got the tag twice. 3. Check whether my privacy page already says the site uses Google Analytics and cookies. If it doesn't, draft that change and show it to me before saving.

Check the Realtime report in Analytics after you upload. Open your site on your phone, and you should see one visitor, which is you.

Checkpoint. Your site is verified in Search Console with the sitemap submitted, and Analytics is on if you want it.

Step 9. Optional: add an email signup form

Skip this if you don’t plan to send email. If you do, an email list is the one way to reach visitors that doesn’t depend on Google or social media.

The signup form on my homepage
The signup form on my homepage. First name, last name, email, and a line about what people get.

The simplest route is an embed from an email provider. You build the form in the provider’s dashboard, copy its embed code, and have Claude place it on your site. The provider stores the signups and sends the emails, so you don’t need anything running on your server. That also means it works on free static hosts.

I’d start with Kit. As of November 8, 2026, its free plan covered up to 10,000 subscribers, with unlimited opt-in forms you can embed inline, as a pop-up, or as a bar. The prompt below works with any provider that gives you embed code, though.

MailerLite is another option, free for up to 250 subscribers and 2,500 emails a month. Its free plan includes a few signup forms, but its pricing table doesn’t say whether you can embed them on your own site. Check that before you build a form there.

Your research first

Decide what subscribers get and how often, like “a monthly tip” or “a heads-up when I post new dates.” Claude can’t decide your offer. Then sign up with a provider, build a form, and copy the embed code from the provider’s form settings.

The prompt

Step 9 prompt
I want to add an email signup form to my site using [PROVIDER NAME, FOR EXAMPLE KIT]. I copied the embed code from my provider's form settings. Here it is: [PASTE THE EMBED CODE] What subscribers get and how often: [FOR EXAMPLE, A MONTHLY TIP] 1. Add the form to [WHERE: FOR EXAMPLE, THE BOTTOM OF THE HOMEPAGE] using my shared design. You may add labels and styling around the form, but don't change its action URL or field names, since those send signups to my provider. 2. Add a short line under the form that says what people will get and how often, using only what I wrote above. 3. Update my privacy page to say which details the form collects, that [PROVIDER NAME] stores them, and how people can unsubscribe. Show me that change before you save it. 4. Tell me how to test the form with my own email address.

What to check

  • Sign up yourself with a real email you can check. You should get whatever confirmation your provider sends.
  • The signup lands in your provider’s dashboard. If it doesn’t, the form’s action address or field names were changed. Ask Claude to compare the form on your page with the original embed code.
  • The privacy page mentions the provider and how to unsubscribe.

If it needs another round

If the form looks out of place, ask Claude to restyle the area around it to match your shared design, and to leave the embed code itself alone. Don’t ask Claude to rebuild the form from scratch. A hand-built form won’t send signups to your provider.

Checkpoint. Your signup form works, and your privacy page says what it collects.

Step 10. Keep your site updated with a simple routine

A site you never touch slowly goes stale. Dates pass, prices change, and links break. The fix is a short routine, and Claude does the checking.

When you add a page, more than one file changes. You get the new page, the menu or footer on every page, the sitemap, and the page list in CLAUDE.md. On my site, a new blog post also means updating the blog index and a few other list files, and missing one is the easiest way for a new page to go live without anyone finding it.

Kan: Let’s also make sure that the blog index, the post, sitemap, LLMS, and MetaMuse all are updated.

Claude: While checking, I found what-is-a-txt-file has a post page but no card on blog/index.html. That gap was there before this session.

Edited for length.

That page had been live for months, and it was missing from my own blog index. One audit found it. (“LLMS” is my llms.txt file, a list of pages written for AI tools. My llms.txt explainer covers what it does.)

Your research first

Pick a day each month for the check, like the first Monday, and put it on your calendar. Claude can run the check when you ask, but it won’t remember to ask you.

The prompts

Use this one whenever you add a page.

Step 10 prompt 1
I want to add a new page to my site: [PAGE NAME AND WHAT IT'S FOR]. Here's what I want on it, in my own words: [PASTE YOUR NOTES OR COPY] Read CLAUDE.md, then: 1. Ask me whether the page goes in the top menu, the footer, or neither. Wait for my answer. 2. Build the page with the shared styles, menu, and footer. Use only my words, and mark anything missing with a [PLACEHOLDER]. 3. Add the page to the menu or footer if I said so, and add it to the page list in CLAUDE.md. 4. Add the new page to sitemap.xml. 5. Give it a unique page title and meta description, and add them to CLAUDE.md. 6. If my site uses Google Analytics, confirm the tag is on the new page. When you're done, list every file you changed, so I know what to upload.

Use this one once a month.

Step 10 prompt 2
Run my monthly site check on the files in this folder. Report first, and fix nothing until I say so. 1. Compare the pages in this folder with sitemap.xml and the menu. List any page missing from either one, except the 404 page and pages the page list in CLAUDE.md says belong only in the footer. 2. Find broken links and missing images. 3. Find any page missing a title or meta description. 4. List anything that looks out of date, like old years, past events, or prices and offers that may have changed. 5. Remind me to check Search Console for errors and to upload any files I changed. Keep the report short and put the most important fix first.

What to check

  • The list of changed files. Upload every one of them. A page that’s updated on your computer but not on your host is the classic version of this problem.
  • Search Console’s Pages report. Any new page should show up as indexed within a week or two. If it doesn’t, use the URL Inspection tool in Search Console to see why.

If it needs another round

If the monthly check keeps finding the same kind of problem, add a rule to CLAUDE.md so it stops happening. “Every new page gets added to sitemap.xml and the footer” is one line, and Claude reads that file at the start of every session.

Checkpoint. You have a routine for adding pages and a monthly check on your calendar.

Where you ended up

You started with an empty folder. You now have a plan, a site built from it, a live address over HTTPS, and a setup that lets Google find and list your pages. You got there in rounds, and that’s how it keeps going. My site is still changing every month, one round at a time.

If you skipped ahead, Part 1 starts with the site brief, and every other prompt in this series depends on it.

Questions you may have

How long does it take Google to find a new website?

It varies. Google says Search Console data typically appears within a few days of verifying, and a submitted sitemap is a hint, not a guarantee.

Do I need structured data for SEO?

It isn’t required. Google uses it to understand a page and recommends JSON-LD, and it doesn’t guarantee any special search feature. A clear title, a good description, and useful content come first.

Is Google Search Console free?

Yes. You need a Google account and a way to verify that you own the site.

Do I need Google Analytics?

No. Search Console shows how people find you in Google. Analytics shows what they do after they arrive. If you add Analytics, update your privacy page.

How often should I update my website?

Check it monthly, and update it whenever something real changes, like a price, a service, or your availability.

Sources