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
- In the app, open SEO audit.
- 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 path, without anything after a
?or# - The host of the referring site, if there was one, such as the search engine or site that sent the visitor
- How many times the path was seen, and when it was first and last seen
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:
- Bots scanning for files, such as paths starting with
/wp-,/adminor ending in.phpor.env - Asset and system paths, such as
/cdn/,/.well-knownand/apps/ - Customer account pages, because those links can carry private tokens
- Paths that contain an email address
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
- The log keeps up to 10,000 paths per store. When it is full, the app pushes out the open path with the fewest visits or the oldest last-seen date. Paths you redirected or left as a 404 are never pushed out to make room.
- The app deletes a path when nobody has opened it for 90 days, whatever its status (Open, Redirected or Left as 404).
[!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.