Course 14 · Lesson 4 of 11
Your Website - Pages, Localized Blogs, Schema
What you will walk away with: a website built with Claude Code that has the structure local SEO actually rewards in 2026.
Your Google Business Profile is half the system. Your website is the other half. They work together. AI engines verify your business by checking that your GBP, your website, and your citations all match.
Three things your local website needs to have:
Service pages. One page per service per city you serve. This is called the "service-by-city matrix." If you offer 10 services and serve 5 cities, that is 50 potential pages. You do not need all 50 on day one. Start with your top 10 to 15 highest-value combinations.
Localized blog posts. Articles that target search queries with a city name attached. "Best wedding venues in London" instead of "Best wedding venues." These pages bring in people who are not yet searching for your service directly but will need it soon.
Proper LocalBusiness schema markup. The structured data that tells search engines and AI exactly what your business is, where it is, and what it does.
Building service pages with Claude Code:
First, find the actual keywords that bring leads. Use a free tool called Google Keyword Planner (inside Google Ads, you can use it without running ads), or a paid tool like Semrush or Ahrefs for 7 days free. Look for keywords with real search volume in your city. "Emergency plumber London" might have 500 searches a month. "24 hour plumber London" might have 200. These are real leads.
Once you have your list of 10 to 15 keywords, run this prompt for each one:
Build me a service page for the keyword "[your keyword]" as a single
self-contained HTML file using static site generation (no JavaScript-heavy
frameworks, no client-side rendering — pure HTML/CSS so Google and AI
engines can crawl it instantly).
Read business-info.md for context about my business.
The page should have:
- Hook headline that mentions the service and city
- A clear one-paragraph description of the service in this city
- 3 to 5 specific benefits framed as outcomes for the customer
- A "Why us" section pulling from my business-info.md
- An FAQ section with 5 to 7 questions a real customer would ask
- A clear call to action with my phone number and a contact form
- Internal links to 2 other relevant service pages on my site
- Proper LocalBusiness schema markup in JSON-LD format in the head
Visual style: professional, clean, mobile-first. Use my brand colors from
business-info.md if I have them, otherwise pick a tasteful palette.
Show me a live preview when done.
For keyword clustering (ranking one page for multiple related keywords), add this to the prompt: "Also identify 3 to 5 secondary keywords related to the primary one and naturally incorporate them throughout the page."
Building localized blog posts:
Pick blog topics that target people one step before they need your service. A wedding photographer should blog about "Best wedding venues in [city]" because anyone reading that will also need a photographer. A plumber should blog about "How to know when to replace your water heater in [city]" because the people reading that are about to call a plumber.
Prompt for localized blog posts:
- Write me a blog post targeting the keyword "[your keyword with city]".
- Before writing, use web search to find the top 3 ranking pages for this
- keyword. Note the average word count, the section headers they use, and
- the topics they cover. I want my post to be more comprehensive and useful
- than theirs, not a copy of them.
Then write the post with:
- A hook that addresses what the reader actually wants to know
- A clear table of contents at the top
- Section headers matching natural reader questions
- Real, specific information (no generic AI fluff)
- Internal links to my relevant service pages
- An author bio at the bottom referencing my business
- A clear CTA toward booking or contacting me
- LocalBusiness + Article schema in the head
Read business-info.md for my voice, my expertise, and my services.
Save it as a single HTML file. Show me a live preview when done.
LocalBusiness Schema the part most people skip:
Schema is structured data that tells Google and AI engines exactly what your business is. Without it, they guess. With it, they know. In 2026, schema is not optional. AI engines especially rely on it heavily.
For schema, use the most specific subtype that fits your business. Not "LocalBusiness" but "Plumber" or "Restaurant" or "Dentist." Schema.org has 200+ subtypes. Pick the closest match.
Have Claude generate the schema for you. Run this once for your business:
- Read business-info.md. Generate complete LocalBusiness schema markup in
- JSON-LD format for my business.
- Use the most specific schema.org subtype that fits my business (not generic
- LocalBusiness). Include all required fields (name, address with PostalAddress,
- telephone) and all recommended fields (geo coordinates, opening hours,
- priceRange, image, url, description, sameAs for social profiles).
- Make sure the NAP (Name, Address, Phone) exactly matches what I will put
- on my Google Business Profile. Format addressLocality, addressRegion,
- postalCode, and addressCountry correctly.
- Output as a clean JSON-LD script block I can paste into the head of every
- page on my site.
- After generating, validate the structure mentally against Google's Rich
- Results Test requirements and flag any field that might cause issues.
- Paste the output into the <head> of every page on your site. After your site is live, run it through Google's Rich Results Test at search.google.com/test/rich-results to confirm it validates clean.
Deploying the site live:
Local SEO does not work on a localhost. You need a real public URL. Use Vercel (free, recommended) or Netlify (also free). Have Claude push to GitHub and deploy:
- Deploy this site to Vercel and give me the live public URL. Walk me through
- any sign-in or GitHub authentication one step at a time. Once it's live,
- confirm by loading the URL and tell me what it is.
- Once live, submit your sitemap to Google Search Console (search.google.com/search-console) so Google indexes everything fast.
Do it with other builders
Post your homework. Get unstuck.
Every course ends with homework. Post yours in Claude Codex Mastery, the community this course comes from, and get feedback from Yar and 400+ people building the same way.
Join the community · $29/mo