Compare 404 URLs With a Redirect Map Using AI
Short answer
Match 404 URLs against your redirect spreadsheet, find gaps, and prioritize checks on the destinations that matter.
The replatform was supposed to be the tidy part. In March the Dubai events company moved hosts, and 212 old URLs started returning not-found. Aisha P. approved AED 3,800 for a developer to "add the redirects." Two weeks later Search Console still listed 137 not-found pages, and one new redirect was sending an inquiry about gala quote Q-8330 to the careers page. The invoice was paid; the problem was not fixed. That is the cost of comparing a 404 list against a redirect map by eye.
The check is mechanical once you insist on evidence: take the URLs that actually return 404 or 410, take the approved redirect map (not the draft), and sort every source URL into an exact match, a probable match needing a person, or no equivalent at all. Then test what each redirect actually does, because a row in a spreadsheet is a claim and a GET request is a fact.
The prompt to use in Assistly
Compare each source URL in the attached crawl export against the source column of the attached approved redirect map. Normalize hosts to lowercase and remove default ports and fragments; keep path case and query parameters as printed, and report any row that only matches after a looser rule. Sort each URL into one of five decisions: exact match approved, probable match needs decision, no equivalent keep 404, no equivalent use 410, or blocked from test. For every row give the raw source URL, the normalized source, the approved target, the decision, and a one-sentence intent note. Finish with counts per decision category, confirm they add to the input row count, and list any rows you could not read or that may have been truncated.Try this task
Start with two lists you trust
The first list is the set of URLs returning not found: a crawl export filtered to status 404 and 410, or a Search Console not-found export. Keep the referring-page column if the export has one; internal links to dead pages hide there. The second list is the approved redirect map, one row per source and target pair, in the version someone actually signed off. Note the export dates; a crawl from last month may contain URLs that were already fixed. After redirects are published and verified, use a website change summary to track which URLs changed and what still needs attention.
Both files should cover the same host. If the crawl captured www.example-events.ae and the map lists the bare domain, you will manufacture hundreds of false mismatches before any real one appears. Split thousands of rows by path section (events, quotes, press) and run each part; large inputs can be truncated, and the lost rows sit at the end.
Normalize, then test behavior
Normalization makes two URLs comparable without changing what they point at. Lowercase the scheme and host, drop default ports and fragments, and pick one trailing-slash rule for both lists. Be careful with path case: many servers treat /Events and /events as different resources, so merge two paths only after the server answers identically for both. Keep tracking parameters out only after checking they truly change nothing, and keep raw and normalized URLs in separate columns.
Then test behavior, because the map is only as good as what a visitor experiences. Assistly can run read-only checks on accessible public URLs and repeat them after the first succeeds, recording the initial status, every hop, and the final URL and status for each pair. A clean result is one permanent redirect to a page that returns 200. A chain of two or more hops wastes crawl budget and should be collapsed. A loop is a launch blocker. And a destination that returns 200 with a "no results found" message is a soft error: it photographs as success.
Match intent, not just text
The old page had a purpose, and the target should serve the same one. A renamed gala category points at its new category. A 2024 trade-show booth page whose show will never run again may have no honest equivalent, and the correct answer is then 404 or, when the removal is deliberate, 410. Neither is a failure of the review; a redirect to the home page to make the error list shorter is.
Write the intent note in one sentence per row: old topic, new topic, why they match; if the sentence cannot be written, the match is weak and goes to the probable-match pile. Every decision uses the same five fixed values: exact match approved, probable match needs decision, no equivalent keep 404, no equivalent use 410, blocked from test.
Examples you can follow
The quote page that found its new home
What to give Assistly. The crawl export, filtered to 404s, and the approved map with 188 rows, both for www.example-events.ae. One map row pairs the source /quote/Q-8330 (the old inquiry page for a Ramadan gala package) with the target /events/gala-dinners/.
What Assistly returns. The normalized source matches the map exactly, no loose rule applied. The read-only check returns 301 on the first request, landing on /events/gala-dinners/, which returns 200 with the page title Gala Dinners. Decision: exact match approved, reviewer Hassan D., dated. The batch summary: 212 source URLs reviewed, 171 exact matches, 23 probable matches, 18 with no equivalent, and the three counts add back to 212. One catch from testing: the target of row 40, /about/, returns 200 but the page title reads Page not found, a soft error. The first-pass report had marked that row approved; the test demoted it to probable match needs decision, and nobody redirects gala customers to an empty about page twice.
How to verify it. Open the old URL /quote/Q-8330 in a browser yourself, read the final page's title, and confirm the summary counts sum to your input count. If both files are spreadsheet exports, the local comparison tool can verify the source-URL list and totals exactly, which beats counting by eye.
The activation that should stay dead
What to give Assistly. Source /experiences/desert-hologram-2024, a retired activation page. The approved map has no row for it. The crawl export shows 14 external links pointing at it.
What Assistly returns. No equivalent: no current page serves the same purpose, and the closest surviving page, /experiences/, is a category listing rather than a replacement. Decision: no equivalent use 410, since the removal is deliberate and permanent. The row notes 14 external backlinks, worth a future content decision, not a redirect decision today. Danish Q. confirms the 410; the error list keeps the URL, honestly, instead of laundering it through a loose redirect.
How to verify it. Request the URL and confirm the response is 410 rather than a soft 200. If a stakeholder insists this page should redirect, ask them to name the specific page that serves the same intent, and write their answer in the intent column.
Quality checks before handoff
Four checks before the sheet leaves your desk. Row count equals input URL count, so nothing was dropped. No source appears twice with two different targets, which creates an ambiguous rule. No target is itself a source in the same map, which is how chains are born. And the decision counts reconcile to the input total. Beyond the sheet, spot-check a few approved matches in your own browser and confirm each destination is the page you intended. Developers get the exact pairs, chain and loop fixes, and the 404/410 list; content owners get the probable matches and the backlink notes. What remains untested is stated plainly. Continue with a related workflow: Compare Local Business Directory Listings With AI
FAQs
- Can the AI decide which old URLs should redirect?
No. It can match paths, group probable matches, and draft intent notes, but a person approves every redirect that changes what visitors see.
- Should every 404 get a redirect?
No. A redirect exists only when a live page serves the same intent. Where content is gone without a replacement, a 404 or 410 is the honest response; a home-page redirect hides the removal.
- Why did a match fail after normalization?
Usually path case, a query parameter the server treats as meaningful, or a trailing-slash rule that does not match the server's behavior. Keep raw and normalized values side by side, test the original form, and accept a normalized match only after the server confirms both forms behave the same.
- What if some URLs cannot be checked?
Mark them blocked from test and list them in the handoff with the reason. Do not assume they work; ask the developer to confirm the status and record the date and result before the row's decision is final.