How the 404 log works

A 404 is a link on your store that leads to a page that does not exist. The 404 log records the broken links your visitors actually open, so you can redirect the ones that matter. This article explains what the log records, what it leaves out, and how long it keeps data.

Before you start

The log needs the app embed to be on in your theme. Without it the app cannot see visits to missing pages. See How to turn on the app embed.

Where to find the log

  1. In the app, open SEO audit.
  2. Open the issue Links that return 404.

The list is titled Broken links and has three tabs.

Tab What it holds
Open Broken links you have not dealt with yet
Redirected Links you sent to a working page
Left as 404 Links you chose to leave as a 404

Each row shows the Path, the number of Visits, the Last seen date and a Closest match, which is the page the app thinks the visitor wanted. If you have not turned on the app embed, a banner says "We can't see 404 visits right now" and offers Open theme editor. The numbers below it are from the last time the app saw a visit.

What the log records

When someone opens a link on your store that does not exist, the app embed sends a small message to the app. The app keeps only:

The app does not keep IP addresses, cookies, browser details or customer IDs.

What the log leaves out

The app filters out links that are not useful to redirect:

How often a path is counted

A path is counted at most once a minute, so repeated reloads do not inflate the visits. The app also limits how many new paths it adds per hour, so a bot that tries thousands of addresses cannot flood your list.

Limits and retention

[!INFO] The log shows what visitors really opened. Broken links inside your menus and blog posts are a separate check. See How to check broken links and duplicate Product structured data.

What to do with the list

For each open link, you can redirect it to a working page, or choose Leave as 404 if nothing on your store fits. See How to create a redirect for a broken link. Use Suggest targets with AI if you want help finding the closest page. See How AI-suggested redirect targets work.

"No broken links right now" shows when no links are open, none are left as a 404 and the app embed is on.

Stop new ones

Links of deleted products and collections become 404s as soon as you delete them. The app can redirect those for you automatically. See How to redirect deleted products automatically.

Related articles

How to create a redirect for a broken link →