Redirect 404 to Homepage (with Logging)

By Project 404

★ 5.0/5 (1 ratings)10+ active installationsVersion 1.6.2

Redirects 404 errors to the homepage and logs the details for review.

Description

A lightweight plugin that redirects all 404 errors to the homepage while logging the requested URL, visitor IP, and referrer for admin review.

Installation

  1. Upload to /wp-content/plugins/
  2. Activate via the Plugins menu
  3. View logs under “404 Logs” in your dashboard

Changelog

1.6.2

  • Switched to wp_safe_redirect()
  • Added missing plugin headers
  • Removed closing PHP tag
  • Renamed plugin file to match slug