Sub topic 1
How the SEO Spider discovers and reports URLs
Prerequisites
This chapter assumes you know the following:
- Basic HTML:
<a href>,<title>,<meta>, heading tags and<link rel="canonical">. - Common HTTP status codes: 200, 301, 404 and 500.
- What a robots.txt file and an XML sitemap are.
- You have permission to crawl the site. In this tutorial that means a site you own or manage.
You do not need to have installed the tool yet. Installation and your first crawl come in the next two chapters. This chapter explains the model that the rest of the tutorial builds on.
What the SEO Spider is
The Screaming Frog SEO Spider is a desktop program that requests pages from a website, much as a search engine bot does, and records what it finds. For each URL it stores the HTTP response, the HTML elements it parsed, and the links that point to and from the page. It does not rank anything and it does not know what Google has indexed. It reports what your server returns to a crawler.
That distinction matters for every later chapter. A crawl is a snapshot of your site as one client saw it at one moment, under the settings you chose. Treat the results as evidence about your site's structure, not as a statement about search engine behaviour.
How discovery works
The Spider starts with one URL, the one you type in the address bar, and follows links outward. This is a breadth-first process:
- It requests the start URL and reads the response.
- It parses the HTML and extracts every link it can find.
- It adds each new, in-scope URL to a queue.
- It requests the queued URLs, parses them, and adds the links it finds there.
- It stops when the queue is empty, or when a limit you set is reached.
Because discovery follows links, the Spider only finds URLs that something links to. A page that exists on your server but has no link from any crawled page will not appear. The exception is when you give the Spider another source of URLs, such as an XML sitemap or Google Search Console data. Later chapters cover that case, because those pages are the ones called orphan pages.
What counts as a link
By default the Spider extracts URLs from several places in a page, not only from visible anchors:
<a href>links, which are the main source of discovery.- Canonical tags,
rel="next"andrel="prev"annotations, and hreflang annotations. - Images (
<img src>), CSS files, JavaScript files and other resources the page loads. - Redirect targets, from the
Locationheader of a 3xx response.
Many of these are configurable under Configuration > Spider. A common early surprise is seeing image and script URLs in the results next to HTML pages. That is expected, and the Internal tab filters let you separate them by content type.
Internal and external URLs
The Spider sorts every URL it meets into one of two groups. Internal URLs are on the same subdomain as the start URL, and these are crawled fully. External URLs are on other hosts. By default the Spider requests an external URL once to record its status code, but it does not crawl further from it. This is how it finds broken outbound links without wandering across the web.
Subdomains need care. If you start at https://www.example.com, then https://blog.example.com is treated as external unless you change the setting to crawl all subdomains. If your crawl looks too small, check this first.
What the Spider reports
Each crawled URL becomes one row in the results. The columns come from three kinds of information.
| Source | Examples of what is recorded |
|---|---|
| HTTP response | Status code, status text, content type, size, response time, redirect target, headers such as `X-Robots-Tag` |
| HTML content | Title, meta description, headings, canonical, meta robots, word count, language |
| Link graph | Inlinks (pages linking to this URL), outlinks (URLs this page links to), crawl depth, anchor text |
The same data appears in several views. The Internal tab lists every internal URL with all columns. Other tabs, such as Response Codes, Page Titles and Directives, show subsets of those columns with filters that pre-select common problems. The Overview panel on the right gives counts for each filter. Chapter four covers these views in detail.
Crawl depth
Crawl depth is the number of link clicks from the start URL to reach a page, found by the shortest path. The start URL has depth 0. Pages linked from it have depth 1. A page at depth 6 is hard for both users and bots to reach. Depth is computed from the links the Spider followed, so it depends on where you started and on your scope settings.
Indexability
Each URL also gets an Indexability value, either Indexable or Non-Indexable, and a reason such as Noindex, Canonicalised or Redirected. The Spider derives this from the response code, the meta robots and X-Robots-Tag directives, and the canonical. It is the Spider's reading of those signals. It is not a check against Google's index.
How a crawl is bounded
An uncontrolled crawl can run for a very long time on sites with calendars, faceted navigation or session IDs, because those generate near-infinite URL sets. The Spider has several controls to bound a crawl, and each one changes what the results can tell you.
- Include and exclude rules limit which URLs are queued, using regular expressions.
- Limits cap the total number of URLs, crawl depth, folder depth, or query string parameters.
- Robots.txt handling decides whether the Spider obeys disallow rules. By default it respects them, which means blocked URLs appear in the results as blocked and are not requested.
- Crawl speed, set as the number of threads and URLs per second, controls the load on your server.
An exclude rule such as the following removes session-ID duplicates from the queue before they are requested:
.*\?sessionid=.*You enter it under Configuration > Exclude. Excluded URLs are not crawled and do not appear in the results, so an exclude rule can hide problems as well as noise. Keep a record of the rules you used, so you can interpret an incomplete crawl later.
Free and paid versions
The free version crawls up to 500 URLs and offers the core reports. The paid licence removes the 500-URL cap and unlocks features used later in this tutorial, including JavaScript rendering, custom extraction, saving and opening crawls, scheduling, and the API integrations. Chapter two covers installation and the exact limits. Check which version you have before concluding that a site "only has 500 pages".
Reading results correctly
A few rules prevent most misreadings.
- A URL that is absent from the crawl was either not linked, out of scope, excluded, blocked by robots.txt, or beyond a limit. It is not necessarily missing from your site.
- The Spider sees the raw HTML response by default. Content that JavaScript adds after load is not seen unless you enable rendering, which a later chapter covers.
- A status code is what the server returned to this crawler, with this user-agent and at this speed. A server may behave differently for a browser or for Googlebot.
- Counts change between crawls on a live site. Compare crawls rather than trusting a single number.
Seeing the data outside the tool
Everything in the tabs can be exported. The Spider also runs without a window, which is useful for scheduled audits. This command crawls a site headlessly, saves the crawl file, and exports the Internal tab as a CSV:
screamingfrogseospider --crawl https://www.example.com \
--headless \
--save-crawl \
--output-folder /tmp/sf-crawl \
--timestamped-output \
--export-tabs "Internal:All"Once you have the CSV you can process it with any tool. This Python script prints every URL that returned a 4xx or 5xx status code:
import csv
with open("/tmp/sf-crawl/internal_all.csv", newline="", encoding="utf-8-sig") as f:
for row in csv.DictReader(f):
if row["Status Code"].startswith(("4", "5")):
print(row["Status Code"], row["Address"])Two details are worth noting. The file is opened with utf-8-sig because Screaming Frog exports include a byte order mark, and plain utf-8 would attach it to the first column name. The path assumes the file is directly in /tmp/sf-crawl. With --timestamped-output, the files are written into a dated subfolder, so adjust the path to match what you see on disk.
Common errors at this stage
- Crawl stops at 500 URLs. You are on the free version.
- Only one URL appears. The start page may block bots, redirect elsewhere, or build its links with JavaScript.
- Pages from a subdomain are missing. Subdomains are external by default.
- Many URLs show as blocked by robots.txt. The Spider is obeying your own disallow rules, which is often the correct result and worth checking.
- Duplicate-looking URLs differing only by parameters. Add an exclude rule or a parameter limit.
Exercise
You start a crawl at https://www.example.com. The results contain no URLs from https://shop.example.com, even though the main site links to it from the header. Name two possible reasons and one place to check each.
Show answer
First, the shop subdomain is treated as external by default, so the Spider records its status code but does not crawl it. Check the Configuration > Spider crawl setting for crawling all subdomains. Second, an exclude rule or an include rule may be keeping the URLs out of the queue. Check Configuration > Exclude and Configuration > Include. A robots.txt disallow or a URL limit are also valid answers.
Exercise
A page exists on your server and returns 200 when you open it in a browser, but it never appears in your crawl. No exclude rules are set. What is the most likely cause, and what extra source of URLs could reveal it?
Show answer
No crawled page links to it, so link-following never reaches it, which makes it an orphan page. Providing an XML sitemap or connecting Google Search Console as an additional URL source lets the Spider list it.