Find the most frequent 404 errors in the access log
which pages return 404 | find not found urls in access log | find broken links in log | analyze 404 errors apache | awk | access-log | 404 | seoawk '$9 == 404 {print $7}' /var/www/vhosts/system/example.com/logs/access_ssl_log | sort | uniq -c | sort -rn | head -20Filters all requests with status 404 and lists the 20 most frequent paths. Useful after a relaunch to find missing redirects, or to see which files bots are probing for. Many hits on wp-login.php or .env on non-WordPress sites are typical of scanners.
Also searched as
- which pages return 404
- find not found urls in access log
- find broken links in log
- analyze 404 errors apache