Sub topic 10
Making pages crawlable and indexable
This chapter assumes you know the three stages of Google Search (crawl, index, serve) and can read basic HTML. Crawling and indexing are separate steps, and most "my page doesn't show up" problems come from confusing them.
Crawlable versus indexable
A page is crawlable if Googlebot, Google's crawler, can fetch it. A page is indexable if Google is allowed to store it in the search index after fetching it. A page can be crawlable but not indexable, for example when it carries a noindex instruction. It can also be indexable in principle but never fetched, for example when no link or sitemap leads to it.
Help Google understand the page
The <head> of a page holds the signals Google reads first. A descriptive title and a meta description describe the page. A canonical link names the preferred URL when the same content is reachable at several addresses.
<head>
<title>How to Repot a Snake Plant | Example Garden</title>
<meta name="description" content="Step-by-step instructions for repotting a snake plant, including soil, pot size, and timing.">
<link rel="canonical" href="https://www.example.com/repot-snake-plant">
</head>Google treats the canonical link as a strong hint, not a command. It may pick a different URL if other signals disagree, such as internal links or redirects.
Controlling crawling with robots.txt
A robots.txt file sits at the root of your site. It tells crawlers which paths they may fetch, and it can point to your sitemap.
User-agent: *
Disallow: /cart/
Sitemap: https://www.example.com/sitemap.xmlThis file controls crawling, not indexing. A URL blocked in robots.txt can still appear in results, usually without a description, if other pages link to it.
Keeping a page out of results
To keep a page out of search results, use a noindex robots meta tag.
<meta name="robots" content="noindex">Google must be able to crawl the page to see this tag.
<br>
The next section covers the most common mistake that follows from this rule.
The robots.txt and noindex trap
Suppose you add Disallow: /private/ to robots.txt and also put noindex on the pages in that folder. Googlebot cannot fetch the pages, so it never reads the noindex. The URLs may stay in the index if they are linked from elsewhere. To remove a page, allow crawling and serve noindex. For content that must stay private, use authentication instead.
Describing content with structured data
Structured data is markup that describes a page in a machine-readable form. JSON-LD with the schema.org vocabulary is the format Google recommends.
<script type="application/ld+json">
{
"@context": "https://schema.org",
"@type": "Article",
"headline": "How to Repot a Snake Plant",
"author": { "@type": "Person", "name": "Jane Doe" },
"datePublished": "2026-01-15"
}
</script>Structured data helps Google understand the page and can make it eligible for enhanced displays. It does not by itself improve ranking. The markup must match what visitors can see on the page.
Common problems
| Symptom | Likely cause | Fix |
|---|---|---|
| Page never appears | No links or sitemap entry point to it | Add internal links and list it in the sitemap |
| URL listed but no snippet | Blocked in `robots.txt` | Allow crawling |
| Page dropped from results | Stray `noindex` left from staging | Remove the tag and request reindexing |
| Wrong URL shown | Conflicting canonical signals | Make canonical, redirects, and links agree |
| Content missing from index | Key text loaded only by blocked scripts | Allow the scripts or serve the text in the HTML |
Exercises
Exercise
A page has Disallow: /old-offers/ in robots.txt and a noindex meta tag in its HTML. It still shows up in search results. Why, and how do you fix it?
Show answer
Googlebot is blocked from fetching the page, so it never sees the noindex tag. Other pages that link to the URL can keep it listed. Remove the Disallow rule so Google can crawl the page and read noindex. After the page drops out of the index, you can decide whether to block it again.
Exercise
Does adding Article structured data raise a page's ranking? What does it do?
Show answer
No. It describes the page in a machine-readable way, which helps Google understand it and can make it eligible for enhanced results. It does not by itself improve ranking.