Logging 404 Requests & Referrers to a Log File

When a WordPress user requests a non-existing page on your WordPress website an HTTP 404 error is generated. The WP Security Audit Log plugin keeps a record of such request in the WordPress activity log. As shown in the screenshot below, the Event ID for users requesting non-existing URLs is 6007. In case a non-logged in user (anonymous […]