Site Kit is a one-stop solution for WordPress users to use everything Google has to offer to make…
About Static 404
This feature allows you to quickly show a 404 error message for static files that are not found, instead of loading the entire WordPress application. You can customize the text of the 404 message and also choose to skip processing the request.Changelog
1.2.0
- Fixed the plugin not doing anything since 1.1.0.
- Only front-end requests are handled.
wp-login.php,wp-cron.php,admin-ajax.php, and other.phpfiles are never blocked. .html,.htm,.php, and.txtURLs are never blocked, so dynamic files likerobots.txtkeep working.- Responses now have a 404 status code. Previously they had a 500.
static_404_should_process_requestis now passedfalseand the request URI.- Requires WordPress 6.0 and PHP 7.4, tested up to WordPress 7.1.
1.1.0
- Added more filters
1.0.3
- Initial release
