Learn · Search & AEO

So you're creating a website with AI · Part 1

Google doesn't know you exist (yet):crawling, sitemaps and getting indexed

You asked an AI for a website and it delivered. Then you searched for yourself and found nothing. Here's how Google actually discovers a site, and the simple steps that make sure yours gets found.

Nathan Flowers

Nathan Flowers

A vast crowd of Lego minifigures packed together, every one of them looking slightly different.

It has never been easier to build a website. You describe what you want to an AI on Sunday afternoon, and by Sunday evening there's a real site with your name on it, a contact form and a colour palette you'd never have picked yourself. You share the link, feel brilliant, and go to bed.

A week later you type your business name into Google. Nothing. Not page one, not page five. It's as if the site doesn't exist, and as far as Google is concerned, it doesn't. Not because it's bad, but because nobody has told Google it's there.

That's what this series is for. AI tools like Lovable, Bolt, v0, Framer, Wix, ChatGPT and Claude are brilliant at building what you ask for. They're less good at building what you didn't know to ask for. Each part of So you're creating a website with AI covers one of those unasked questions, in plain English, with the exact steps to fix it.

We're starting at the very beginning, because nothing else in this series matters until Google knows where you live.

How Google actually finds a website

Picture Google as an enormous library with a very fast, very literal team of robot assistants. The main one is called Googlebot, and its whole job is wandering the internet reading pages. Getting from "my site exists" to "my site appears in results" happens in three stages:

  1. Crawling. The robot visits your page and reads it. Think of it as the librarian picking your book up off the doormat.
  2. Indexing. Google decides the page is worth keeping and files it in its catalogue. Your book is now on a shelf.
  3. Ranking. When someone searches, Google picks which books from the shelves to hand them first.

Most advice online jumps straight to stage three. But you can't rank if you're not indexed, and you can't be indexed if you've never been crawled. So how does the robot find your door in the first place? Two ways: it follows links from pages it already knows, and it reads sitemaps that site owners hand it.

A brand-new website has no links pointing at it. Nobody has written about it, nothing connects to it, and the robot has no reason to wander past. It's a lovely shop on an island with no bridge. The sitemap is you rowing over to the librarian with a map.

You can't rank if you're not indexed, and you can't be indexed if Google has never been round.

What a sitemap actually is

Despite the name, a sitemap isn't a picture. It's a plain text file, usually called sitemap.xml, that lists every page on your site you'd like search engines to know about. It lives at the root of your domain, so for a site at example.com you'd find it at example.com/sitemap.xml. Here's a small one:

sitemap.xml
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  <url>
    <loc>https://example.com/</loc>
    <lastmod>2026-09-25</lastmod>
  </url>
  <url>
    <loc>https://example.com/services</loc>
    <lastmod>2026-09-18</lastmod>
  </url>
  <url>
    <loc>https://example.com/contact</loc>
    <lastmod>2026-09-01</lastmod>
  </url>
</urlset>

It looks technical, but there are only two things in each entry worth caring about:

Fun fact

You'll often see sitemaps with <priority> and <changefreq> tags too. Google has said publicly that it ignores both. They won't hurt, but marking every page as priority 1.0 won't make Google love you more. It's the sitemap equivalent of writing URGENT on every email.

What belongs in it, and what doesn't

Your sitemap should be a list of pages you'd be happy for a stranger to land on from Google. That means pages that actually load, live on your real domain, and are the one "official" version of that content. Leave out:

One sitemap can hold up to 50,000 addresses, so unless you're running a very large shop, a single file will do.

Does your site already have one?

Find out in ten seconds: type your domain followed by /sitemap.xml into your browser. If you see a list of your pages, you're off to a good start. If you get a "page not found", keep reading.

If you built on a hosted platform, there's a good chance it's already done. Wix, Squarespace, Shopify, Webflow and Framer all generate a sitemap automatically, usually at /sitemap.xml. WordPress has one built in at /wp-sitemap.xml, or /sitemap_index.xml if you use the Yoast plugin.

If your AI wrote the code for you, in tools like Lovable, Bolt, v0, Replit, Cursor or Claude Code, the odds flip. Many of these projects ship with no sitemap at all, or one the AI wrote on day one and never touched again. The good news is that the same AI can fix it. Paste this in:

Prompt for your AI builder
Create a sitemap.xml for my website at https://www.yourdomain.com.

- Include every public page that should appear in Google, using the full https address exactly as it appears in the browser on my live domain (not a preview or localhost address).
- Leave out admin, login, checkout, thank-you and test pages, and any page that redirects.
- Give each page an accurate lastmod date.
- Put the file where it will be served at https://www.yourdomain.com/sitemap.xml.
- Make it update automatically whenever I add or remove a page.

Then create a robots.txt at https://www.yourdomain.com/robots.txt that allows all search engines and includes a line pointing to the sitemap.
Check the AI's homework

AI tools are confident guessers. Once it's done, open the sitemap in your browser and look at the addresses. The most common mistake we see is a sitemap full of the preview domain (something ending in .lovable.app, .vercel.app or .netlify.app) instead of your real one. Click three or four links. If they all load your pages on your own domain, you're golden.

robots.txt: the sign on your front door

Your sitemap says "here's everything worth seeing". Its partner file, robots.txt, says "here's where you're allowed to go". It also lives at the root of your domain, and a healthy one for a small site is almost boringly short:

robots.txt
User-agent: *
Allow: /

Sitemap: https://www.yourdomain.com/sitemap.xml

That Sitemap: line matters. It means any search engine that checks your front door gets handed the map straight away, whether or not you've submitted it anywhere.

The one line that hides your whole website

Here's the horror story. While a site is being built, it's common to block search engines so a half-finished version doesn't get indexed. The block looks like this:

Do not launch with this
User-agent: *
Disallow: /

That forward slash means "everything". Launch with it still in place and you've politely asked every search engine on earth to ignore you. There are two cousins to watch for too:

A quick word about JavaScript

Lots of AI-built sites are what developers call single-page apps. The server sends an almost empty page, and JavaScript builds everything you see once it reaches the browser. To you, it looks identical. To a crawler, it can look like a blank sheet of paper.

Try this: on your homepage, right-click and choose View page source (or press Ctrl+U, Cmd+Option+U on a Mac). If you can find your headline and paragraphs in that code, great. If you mostly see an empty <div id="root"></div> and a pile of scripts, your words only exist after JavaScript runs.

Google can run JavaScript, but it does so in a slower second pass, and many of the crawlers feeding AI assistants don't run it at all. If your source looks empty, ask your AI to set up pre-rendering or static site generation so every page arrives with its words already in it. And if your page addresses contain a hash, like yoursite.com/#/about, ask for real paths like yoursite.com/about. Google treats everything after the # as the same page, so your whole site can look like one address.

Hand the map to Google: Search Console, step by step

Google Search Console is a free tool that shows you exactly how Google sees your site. It's where you submit your sitemap, and it'll become your best friend over the rest of this series. Setting it up takes about fifteen minutes.

  1. Go to search.google.com/search-console and sign in with a Google account. Use one your business will keep, not a personal one you might lose.
  2. Click Add property. You'll see two options. Domain is the better choice, because it covers every version of your address (with and without www, http and https) in one go. URL prefix is the easier one if you don't have access to your domain settings.
  3. Prove you own the site. For a Domain property, Google gives you a line of text (a TXT record) to add in the DNS settings wherever you bought your domain, such as GoDaddy, Namecheap, 123 Reg or Cloudflare. For a URL prefix, you can instead add a small tag or file to your site, which your AI builder can do for you. DNS changes can take anything from a few minutes to a few hours to be recognised, so don't panic if verification fails first time.
  4. Once verified, click Sitemaps in the left-hand menu. Under "Add a new sitemap", type sitemap.xml and press Submit.
  5. Refresh after a little while. You're looking for a status of Success and a count of discovered pages that roughly matches how many pages you have.
If it says "Couldn't fetch"

This is really common straight after submitting and often sorts itself out within a day. If it sticks, open your sitemap address in a private browser window to check it loads, make sure robots.txt isn't blocking it, then submit it again.

While you're in the mood, do the same at Bing Webmaster Tools. It lets you import your Search Console setup in a couple of clicks, and Bing's index sits behind more than just Bing, including other search engines and several AI assistants. Two minutes of work for a second front door.

Give your key pages a nudge

Submitting a sitemap says "here's everything". Sometimes you want to say "look at this, now". That's what the URL Inspection tool is for.

Paste any page address into the search bar at the very top of Search Console. Google will tell you either URL is on Google (lovely) or URL is not on Google, usually with a reason. For a page that isn't indexed yet, click Request indexing. It takes a minute while Google runs a live check, then pops your page into a priority queue.

Use this for your homepage and most important pages at launch, and whenever you publish something new or make a big update. Don't use it on every page every day. There's a daily limit, and asking twice doesn't get you there faster. It's a doorbell, not a buzzer you can lean on.

Reading the Page indexing report without panicking

After a few days, go to Indexing → Pages. You'll see two numbers: indexed and not indexed. New site owners tend to see a big grey "not indexed" number and assume the worst. Most of the time, it's fine. Here's what the common reasons actually mean:

That last one is where AI-built sites get caught out most. If every page reads like a polite, generic brochure, Google has little reason to keep it. We'll dig into that properly in part three.

How long does it take?

For a brand-new site, anything from a few days to a few weeks. There's no switch that makes it instant, but you can make yourself much easier to find:

For a rough health check, search Google for site:yourdomain.com. It shows a sample of the pages Google has filed. It isn't an exact count, but if it returns nothing at all, you know where to start.

And if all of this feels like something only a beginner would miss, it isn't. During a tidy-up of this very website in September, we found Search Console had no sitemap on record and seven of our pages Google hadn't met yet. Nothing was broken. We just hadn't handed over the map.

Your five-minute checklist

Screenshot this, pin it, tattoo it somewhere discreet:

Next in the series

Once Google knows you exist, the next question is what it shows people. Part two covers titles, descriptions and the little snippet that decides whether anyone actually clicks.

Building with AI is a genuinely brilliant way to get a business online. It just can't know what it wasn't asked. If you've built a site and want a second pair of eyes before, or after, it goes live, that's exactly the kind of thing we love helping with.


Search & AEO
Nathan Flowers

Written by

Nathan Flowers

Founder of Rekognition. I help people build brands that feel like a person, not a logo, and websites that people (and search engines) can actually find.

Start a project →

Keep reading

A vast crowd of Lego minifigures packed together, every one of them looking slightly different.
Search & AEO

So you're creating a website with AI, part 2: your shop window in Google

A lone figure sitting in a vast concrete hall, dwarfed by the space around them.
Strategy

The recognition gap: why good brands still go unnoticed

A concrete figure looking at its own reflection in a round mirror set into a wall.
Social

You are the brand: why people buy from people