Menu

170 404s a Day, and Almost None of Them Were Links We Broke
πŸ“°

170 404s a Day, and Almost None of Them Were Links We Broke

DEV Community: webdevΒ·VisenΒ·6 days ago
#cT8iLcc1
#devtowebdev#devto#dev#path#sitemap
Long article (788 words) β€” no AI summary yet.
Reading 0:00
15s threshold

Every morning I look at yesterday's 404 log for our store. It is consistently around 170 requests. My first instinct, months ago, was that we had a broken-link problem. We did not. We had a scanner problem, plus one real bug hiding inside the noise.

This is how I learned to separate the two, and why the aggregate number is useless on its own.

The number that looks alarming and means nothing

Here is a sample from a single day, grouped by path:

Path pattern Requests What it actually is

/.git/config 22 Automated credential scanning

/.env , /.env.bak 31 Same scanner, different filename

/.svn/entries , /.svn/wc.db 18 Subversion history probing

/wp-config.php.bak 9 Backup file probing

/wp-sitemap-sw_brands-1.xml 4 A real URL we renamed and forgot to redirect

Everything else ~86 Mostly old product URLs, plus referrer spam

The first four rows are someone looking for secrets in files that a WordPress install with a normal deployment never exposes. They do not care about our content.…

Continue reading β€” create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.