読み物Technical SEO

Level: Intermediate

Technical SEO Auditing and Indexability

Audit like a diagnostician: build a URL inventory, read status codes and redirects, test robots rules and sitemaps, find orphan pages, and interpret Search Console reports.

Edeeson Opina9 min read

An Intermediate lesson card: lesson 6 of the SEO series, Technical SEO Auditing and Indexability, with the Miso fox at work.

What you’ll learn

  • Build a URL inventory from crawls, sitemaps, and Search Console
  • Separate crawlability problems from indexability problems
  • Interpret status codes, redirects, and robots.txt groups correctly
  • Diagnose indexing issues from Search Console's reports

Before you start

On this page
  1. A methodology that scales
  2. Crawlability versus indexability
  3. HTTP status codes that matter for SEO
  4. Redirects: what to look for
  5. robots.txt directives in depth
  6. XML sitemap validation
  7. Canonicalization checks
  8. Crawl errors and server errors
  9. Orphan pages
  10. Interpreting Search Console reports
  11. Three audit scenarios
  12. Scenario 1: traffic fell after a redesign
  13. Scenario 2: new articles aren't being indexed
  14. Scenario 3: intermittent server errors
  15. Common mistakes and troubleshooting
  16. Key takeaways
  17. Exercise
  18. References
  19. What's next

The beginner audit in lesson 5 asked whether pages can be indexed. A technical audit asks why they are or aren't, across the whole site, and what in the infrastructure is causing it. It's closer to debugging than to proofreading: you form a hypothesis, collect evidence from HTTP responses and Search Console, and confirm the fix. This lesson gives you a methodology, the reference knowledge behind it, and three realistic scenarios to practice on.

A methodology that scales

Work from the outside in, and from site-wide to page-level:

  1. Inventory. Build a list of URLs from three sources: a crawl of your site (what links lead to), your XML sitemaps (what you say matters), and Search Console or analytics (what search engines and visitors actually reach). Differences between those lists are findings in themselves.
  2. Classify responses. Group every URL by status code and indexability.
  3. Check directives. robots.txt rules, meta robots, X-Robots-Tag, canonical tags.
  4. Compare with Google's view. Page indexing report, URL Inspection, crawl stats.
  5. Prioritize by template. Most technical issues come from a shared template, route, or server rule, not from individual pages.
  6. Fix, validate, monitor. Use Search Console's validation and watch the trend for several weeks.

Crawlability versus indexability

Keep these separate in your notes:

  • Crawlable: a crawler is allowed and able to fetch the URL (robots.txt allows it, the server responds, it's discoverable through links or sitemaps).
  • Indexable: once fetched, nothing tells the search engine not to keep it (200 status, no noindex, canonical points to itself).

A URL can be crawlable but not indexable (a noindex page), or indexable in principle but not crawlable in practice (no links point to it, or it sits behind a robots.txt rule). Each combination calls for a different fix.

HTTP status codes that matter for SEO

The status line is the first thing to check, and most crawlers treat these codes in standard ways (defined in RFC 9110 (opens in a new tab)):

  • 200 OK: the content can be indexed.
  • 301 and 308: permanent redirects. Signals that the target should replace the original in the index.
  • 302 and 307: temporary redirects. The original URL may stay in the index; if a "temporary" redirect stays for a long time, Google may eventually treat it as permanent.
  • 304 Not Modified: a response to a conditional request; tells the crawler its copy is still current. Supporting ETag or Last-Modified saves server and crawler effort.
  • 404 Not Found and 410 Gone: no content. Both lead to removal over time; there's no SEO penalty for legitimately missing pages.
  • 429 Too Many Requests and 503 Service Unavailable: "come back later." Googlebot slows down when it sees these. Fine for short maintenance windows, harmful if they persist.
  • 500 and other server errors: like 503, they slow crawling; persistent errors lead to URLs being dropped.

A frequent problem is the soft 404: a page that says "not found" or shows an empty template but returns 200. Search engines usually detect and exclude it, but you waste crawling on it and send mixed signals. Return a real 404 instead.

Redirects: what to look for

Check that every redirect:

  • uses the right type (301/308 for permanent moves);
  • points directly to the final destination (no chains);
  • lands on a 200 page that is relevant to the original (not everything to the homepage);
  • is consistent across HTTP/HTTPS and www/non-www variants.
Shell
# Follow a redirect chain and print each hop's status and location
curl -sIL http://example.com/old-page | grep -iE '^(HTTP|location)'
HTTP
HTTP/1.1 301 Moved Permanently
location: https://example.com/old-page
HTTP/2 301
location: https://www.example.com/old-page
HTTP/2 301
location: https://www.example.com/new-page/
HTTP/2 200

That's three hops. Each one should be collapsed into a single redirect from any variant directly to https://www.example.com/new-page/. Lesson 7 covers redirect design.

robots.txt directives in depth

Audit robots.txt as code:

  • Confirm it returns 200. If robots.txt returns a server error, Google pauses crawling of the site and, if the error lasts, falls back to the last copy it fetched successfully. A 404 for robots.txt is fine: it means no restrictions.
  • Check each Disallow for unintended prefix matches. Disallow: /p blocks /products/ too.
  • Make sure CSS, JavaScript, and image paths needed for rendering are allowed.
  • Remember that crawlers obey only the most specific User-agent group that matches them. A User-agent: Googlebot group means Googlebot ignores the User-agent: * group entirely, so shared rules must be repeated.
robots.txtText
User-agent: *
Disallow: /admin/
Disallow: /search

# Googlebot reads ONLY this group, so /admin/ must be repeated here
User-agent: Googlebot
Disallow: /admin/
Disallow: /search
Disallow: /experiments/

Sitemap: https://www.example.com/sitemap-index.xml

XML sitemap validation

For every sitemap file:

  • It's well-formed XML in UTF-8, with absolute URLs on the same host (or a host you've verified for cross-submission).
  • It stays within the 50,000 URL and 50 MB (uncompressed) limits per file.
  • Every URL returns 200, is indexable, and is its own canonical.
  • <lastmod> reflects real content changes, not the time the sitemap was generated.

A quick way to spot problems is to compare the Search Console Sitemaps report's discovered count with the number of indexed pages for that sitemap in the Page indexing report (filter by sitemap). A large gap means search engines are choosing not to index many of the URLs you listed. Find out why.

Canonicalization checks

For a sample of URLs in each template:

  • The page has exactly one rel="canonical", as an absolute URL.
  • The canonical returns 200 and isn't itself redirected or noindex.
  • In URL Inspection, the Google-selected canonical matches the user-declared canonical.

When they differ, look for conflicting signals: internal links pointing at a different variant, sitemaps listing the other version, or redirects disagreeing with the canonical tag.

Crawl errors and server errors

Search Console's Crawl stats report (under Settings) shows requests over the last 90 days, grouped by response code, file type, purpose (discovery or refresh), and Googlebot type. It also shows host status: whether robots.txt fetching, DNS, and server connectivity had problems.

Look for spikes in 5xx responses, a rising average response time, or a drop in total requests. These often line up with deployments, traffic peaks, or infrastructure changes. Correlate them with your server logs (lesson 11 goes deep on logs).

Orphan pages

An orphan page has no internal links pointing to it. Search engines can still find it through sitemaps or external links, but they have little reason to consider it important, and visitors can't navigate to it.

To find orphans, compare your sitemap URLs (and URLs with search impressions) against the URLs your crawl reached through links. Anything in the first set but not the second is an orphan candidate. Then decide: link to it from relevant pages, merge it into another page, or retire it with a redirect or 404.

Interpreting Search Console reports

Read the Page indexing report as a set of reasons, not as a score:

  • Not found (404): check whether any important pages are here, and where links to them come from.
  • Server error (5xx): urgent if it's important pages; check logs for the timestamps.
  • Redirect error: chains too long, loops, or redirects to invalid URLs.
  • Blocked by robots.txt: expected for intentional blocks; investigate otherwise.
  • Crawled – currently not indexed: often quality or duplication. Compare these pages with indexed pages from the same template.
  • Discovered – currently not indexed: Google hasn't gotten to them; on large sites this can indicate crawl capacity limits or weak internal linking.

Remember the report is sampled and delayed by several days. Use URL Inspection for the current state of individual URLs.

Three audit scenarios

Scenario 1: traffic fell after a redesign

Symptoms: Search Console clicks dropped 40% in the week after a new design launched. The Page indexing report shows a jump in "Excluded by 'noindex' tag."

Investigation: URL Inspection on a few affected pages shows noindex detected. The new layout template includes <meta name="robots" content="noindex">, copied from the staging environment's configuration.

Fix: remove the tag from production, use environment-specific configuration so staging can't leak into production, then select Validate fix in the report. Expect recovery over days to weeks as pages are recrawled.

Scenario 2: new articles aren't being indexed

Symptoms: articles published in the last month show "Discovered – currently not indexed."

Investigation: a crawl from the homepage doesn't reach them. The blog index shows only the five newest posts and uses a "Load more" button that fetches more posts with JavaScript but has no <a href> pagination links. The sitemap lists the articles, but they have no internal links.

Fix: add crawlable pagination links (/blog/page/2/), link new articles from related older ones, and keep them in the sitemap.

Scenario 3: intermittent server errors

Symptoms: Crawl stats show a spike in 5xx responses every night between 02:00 and 03:00 UTC, and average response time triples.

Investigation: server logs show a database backup job running at that hour, slowing every request, while Googlebot's crawling continues.

Fix: move the backup off the primary database or reduce its impact, and make sure maintenance windows return 503 with a Retry-After header rather than timing out.

Common mistakes and troubleshooting

  • Auditing only the homepage template. Sample every template: listing pages, detail pages, filters, pagination.
  • Trusting the CMS's view. Check real HTTP responses; plugins and CDNs can add headers or redirects your CMS doesn't show.
  • Fixing without measuring. Record the baseline (indexed counts, error counts, clicks) before changing anything.
  • Assuming one cause. Traffic drops often have several overlapping causes, including seasonality and search engine updates. Rule things in or out with evidence.

Key takeaways

  • Build an inventory from crawl, sitemaps, and Search Console, and investigate the differences.
  • Check status codes, redirects, robots rules, and canonicals in that order, by template.
  • Persistent 5xx and 429 responses slow crawling and eventually remove pages; soft 404s waste it.
  • Read Page indexing as reasons with expected and unexpected causes, and confirm with URL Inspection.

Exercise

Run a technical audit on one template of your site (for example, all blog posts):

  • Inventory 20 URLs from your sitemap and 20 from a crawl of the blog index.
  • Record each URL's status, final URL after redirects, robots meta, canonical, and Search Console status.
  • Identify any orphan pages, redirect chains, soft 404s, or canonical mismatches.
  • Write a one-paragraph diagnosis with the most likely root cause, and the single change that would fix the most URLs.

Practice with RankMiso. On a small site, the Site section of RankMiso (our free extension) can start your inventory in Chrome: after you allow the site, it crawls up to 100 pages of the current origin, respects robots.txt, flags duplicate titles and descriptions, and lists orphan candidates (sitemap URLs that no crawled page links to). Export it as CSV and compare it with your sitemap and Search Console lists. Free on the Chrome Web Store (opens in a new tab).

References

What's next

Many of the problems in this lesson trace back to one cause: the same content at more than one URL. Canonical URLs, Duplicate Content, and Redirects explains how search engines pick one URL and how to make sure they pick yours.

See every lesson in SEO: From Fundamentals to Advanced Optimization