BACK TO DIRECTORY
4zero4 makes your 404 pages useful. When a visitor reaches a URL that no longer
exists, the plugin builds a search query from the requested address and redirects
the visitor to your site’s search results, so they land on relevant content
instead of an empty error page.
For example, a request for /my-old-product-name/ that no longer resolves is
turned into a search for “my old product name”.
Key points:
- Zero configuration. Activate it and it works.
- Temporary redirect (302). The original URL may become valid again, so the
redirect is never cached as permanently moved. - Front-end only. It never interferes with the admin area, feeds or the REST
API, and only acts on normal GET page views. - No external services. The plugin does not send any data anywhere and does
not use tracking or analytics.
Developer hooks
The behaviour can be customised with filters:
p4zero4_search_terms— change (or clear, to skip) the terms extracted from the URL.p4zero4_redirect_url— change (or clear, to cancel) the destination URL.p4zero4_redirect_status— change the HTTP status code (default302).
Plugin Details
Active Installs
0Total Downloads
2,168Version
1.2Requires WP
6.5Requires PHP
7.4Tested Up To
7.0.4Added
2019-03-07Last Updated
2026-06-04 8:24am GMTRatings
5
0
4
0
3
0
2
0
1
0