Sub topic 13
Saving crawls and comparing before and after
A crawl is only useful as evidence if you can repeat it and compare the results. This chapter covers how to save a crawl, how to reopen it, and how to compare two crawls to confirm that your fixes worked and that nothing else broke.
It assumes you have run a crawl and can read the Internal tab and the Response Codes tab. It also assumes you know what a status code, a canonical tag and a title element are. Saving and opening crawls requires a paid licence. The free version cannot save or reload a crawl.
Why compare crawls
A single crawl is a snapshot. After you fix 404s, shorten titles or change canonicals, you need to know three things:
- Did the problems you targeted go away?
- Did the fixes introduce new problems, such as a redirect that now points to a 404?
- Did anything unrelated change, such as a template edit that removed H1s?
Re-reading two sets of tabs by eye does not answer these reliably on a site with thousands of URLs. Compare mode does the matching for you.
Saving and opening crawls
How a crawl is stored depends on your storage mode, which you set under Configuration > System > Storage Mode.
| Storage mode | How it saves | How you reopen it |
|---|---|---|
| Memory | You save manually with File > Save. The crawl is written to a `.seospider` file. | File > Open, or File > Open Recent. |
| Database | The crawl is written to the local database as it runs. | File > Crawls lists every stored crawl. |
In memory mode, the crawl is lost when you close the program unless you save it. In database mode, you can also export or import a crawl file, so a colleague can open it on another machine.
Give files names that sort by date and say what they represent, for example example-com_2026-11-27_before-redirect-fixes.seospider. Compare mode asks you to pick two crawls, and clear names prevent you from picking the wrong baseline.
Running a comparable before and after
The process is the same each time.
The key rule is to change only one thing between crawls: the site. Keep the configuration the same. If you want to change settings, such as turning on JavaScript rendering, run a fresh baseline with the new settings first.
Using Compare mode
- Open or run the newer crawl so it is the active crawl.
- Choose Mode > Compare.
- In the Compare dialog, select the current crawl and the previous crawl, then start the comparison.
The panels now show comparison data. In the Overview panel on the right, each issue count has columns for the current crawl, the previous crawl and the change. You can see at a glance, for example, that 4xx responses fell from 112 to 7, while "Page Titles Missing" rose from 3 to 41.
The Change Detection filters are the most useful part. They cover areas such as page titles, meta descriptions, H1, word count, indexability, canonicals and internal link counts. For each, you can see which URLs changed between crawls and what the earlier and later values were.
Each tab also gains comparison filters. The names vary slightly by tab, but they follow this pattern:
- Added means the URL is in the issue filter in the current crawl but was not in it before. The URL may be new, or it may be a URL that now has the problem.
- Removed means the URL was in the issue filter before and is no longer in it. This is where you confirm that a fix worked.
- New means the URL exists in the current crawl but not in the previous crawl.
- Missing means the URL was in the previous crawl but is not in the current one.
Added and Removed describe movement into and out of an issue. New and Missing describe the URL itself. A URL that appears under Missing may have been deleted, redirected, blocked by a rule you changed or simply not reached because of a crawl limit. Check the crawl limits and exclude rules before you decide that pages disappeared from the site.
Comparing staging with live
You can also compare a staging site with production before launch. The hostnames differ, so URLs will not match by default. URL Mapping, found in the Compare configuration, lets you rewrite URLs in one crawl so they line up with the other. You give it a regex and a replacement. For example, a pattern that matches https://staging.example.com/ and a replacement of https://www.example.com/ makes both crawls use the same address for each page.
Test your mapping on a few pages first. If a mapping is wrong, most URLs will show as New and Missing at the same time, which is the sign that the matching failed, not that the site changed.
Automating the comparison
The command line can create the two crawls, and a short script can check the exports. This gives you a repeatable regression check, for example after each release.
screamingfrogseospider --crawl https://www.example.com \
--headless \
--save-crawl \
--output-folder /tmp/sf-after \
--export-tabs "Internal:All"Run the same command with a different --output-folder for the baseline. The following script reads both Internal exports and reports URLs whose status code or page title changed, and URLs that are missing from the new crawl.
import csv
def load(path):
with open(path, newline="", encoding="utf-8-sig") as f:
return {
row["Address"]: (row["Status Code"], row.get("Title 1", ""))
for row in csv.DictReader(f)
}
before = load("/tmp/sf-before/internal_all.csv")
after = load("/tmp/sf-after/internal_all.csv")
for url, (status, title) in before.items():
if url not in after:
print("MISSING", url)
continue
new_status, new_title = after[url]
if status != new_status:
print("STATUS", url, status, "->", new_status)
if title != new_title:
print("TITLE", url, repr(title), "->", repr(new_title))
for url in after.keys() - before.keys():
print("NEW", url)This does not replace Compare mode, which tracks many more elements. It is useful for a quick check in a pipeline, where a failed step can stop a release.
Common errors
- Different settings between crawls. A changed user-agent, include rule or rendering mode produces differences that are not real. Save the configuration as a file (File > Configuration > Save As) and load it before each crawl.
- Crawl limits cut off one crawl. If the new crawl stopped at a URL limit, thousands of URLs appear as Missing. Check the progress bar and the limits first.
- Comparing against the wrong file. Name files with dates and a short description.
- Content that changes by itself. News listings, related-link blocks and timestamps change between crawls. Expect word count and link count changes on such pages, and judge them in context.
- Treating Removed as proof for everything. A URL leaves an issue filter if the issue was fixed, but also if the URL now redirects or returns an error. Open the URL's row to confirm.
Exercise
You fixed 60 broken internal links and re-crawled. In Compare mode, the 4xx filter shows 60 URLs under Removed, but also 900 URLs under Missing. What should you check before deciding the fix worked, and why?
Show answer
Check whether the second crawl used the same configuration and was not cut short. 900 Missing URLs usually mean the new crawl did not reach pages the baseline did, for example because of a lower URL limit, a new exclude rule, a different include scope or a stopped crawl. Compare the crawl limits and exclude/include rules of both crawls, and confirm that the new crawl finished. If the settings match and the crawl completed, check whether those URLs were deleted or redirected on the site. Only then can you trust the 60 Removed URLs as confirmed fixes.