Sub topic 1
How the SEO Spider discovers and reports URLs
Prerequisites
This chapter assumes you know basic HTML (links, title, meta and canonical tags), common HTTP status codes (200, 301, 404, 500), and what robots.txt and XML sitemaps are. You also need permission to crawl the site you are auditing. Crawl only sites you own or manage.
The working model
The SEO Spider is a crawler. It starts from one address, downloads the page, reads the HTML, and collects every link it finds. It then requests each new link and repeats the process. Each URL it requests becomes a row in the results.
This means the tool only finds what a link can reach. A page that no other crawled page links to will not appear, unless you give the Spider another source, such as an XML sitemap. Later chapters cover that.
What gets recorded for each URL
For every URL the Spider stores the HTTP response and what it parsed from the page. The main fields are:
| Field | Meaning |
|---|---|
| Address | The full URL that was requested |
| Status Code | The HTTP response, such as 200, 301, 404 or 500 |
| Indexability | Whether the page can be indexed, based on directives and canonicals |
| Title 1, H1-1 | The first page title and first H1 found |
| Inlinks, Outlinks | How many crawled pages link to and from the URL |
| Crawl Depth | Number of link clicks from the start URL |
The Spider reports what the server returned. It does not follow redirects silently: a 301 appears as its own row with its own status code, and the target appears as a separate row.
Internal and external URLs
The Spider compares each URL's host with the start URL. Same-host URLs are internal and are crawled fully. Other hosts are external. By default the Spider records external URLs and checks their status codes, but it does not crawl further into those sites. Subdomains count as external unless you configure otherwise. Scoping is covered in a later chapter.
What the Spider respects by default
- robots.txt: URLs disallowed for the Spider's user agent are not requested. They are listed as blocked.
- Meta and header directives:
noindexandnofolloware recorded. Followed links are still crawled by default so you can see the whole site. - Canonical tags: Recorded, but the Spider still requests each URL it finds.
Common errors
- Expecting the crawl to find every page. Orphan pages (pages with no internal links) are invisible to link-based discovery.
- Reading a missing URL as a missing page. It may be blocked by robots.txt, excluded by a rule, or only reachable through JavaScript.
- Confusing the start URL's variant. Starting at
http://versushttps://, or with or withoutwww, changes which host counts as internal.
Exercise
A page exists on your site but never appears in the crawl, and no robots.txt rule blocks it. What is the most likely reason, and how could you make the Spider find it?
Show answer
No crawled page links to it, so link-based discovery cannot reach it. You can find it by supplying an XML sitemap as an extra source, or by adding an internal link to it.