A WordPress plugin to quickly send a 404 for missing static files.
As of April 2026, Static 404 is a WordPress 404 plugin with 3.0K+ active installations and a 0/5 rating0. It has been downloaded 4.8K+ times in total. Requires WordPress 5.2+ and PHP 5.6+. Available on WordPress.org since 2021. Last updated 4 years ago — may have compatibility concerns. Downloads are up 44% this week. Top alternative: Redirection.
Quickly output a 404 for static files that aren’t found, rather than loading the normal 404 page.
Any static files ( images, text, pdfs, etc ) that don’t exist will 404 as soon as possible, rather than loading the entire WordPress application.
By default, the list of extensions to check are the results of wp_get_ext_types, but can be filtered with static_404_extensions.
The output is a static page with the text 404 Not Found, this text can be edited by filtering static_404_message.
A 404 status code will be used, but can be filtered with static_404_response_code.
Passing true to static_404_should_process_request will short-circuit and skip processing the request. This filter gets passed the current request.
| WordPress | 5.2+ requiredTested up to 5.8.13 |
| PHP | 5.6+ required |
Plugin data sourced from WordPress.org. Analysis and metrics by PluginSift.