Title: Static 404
Author: Brad Parbs
Published: <strong>May 28, 2021</strong>
Last modified: August 20, 2021

---

Search plugins

![](https://ps.w.org/static-404/assets/banner-772x250.png?rev=2586072)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/static-404/assets/icon-256x256.jpg?rev=2586072)

# Static 404

 By [Brad Parbs](https://profiles.wordpress.org/bradparbs/)

[Download](https://downloads.wordpress.org/plugin/static-404.1.1.0.zip)

 * [Details](https://pcd.wordpress.org/plugins/static-404/#description)
 * [Reviews](https://pcd.wordpress.org/plugins/static-404/#reviews)
 *  [Installation](https://pcd.wordpress.org/plugins/static-404/#installation)
 * [Development](https://pcd.wordpress.org/plugins/static-404/#developers)

 [Support](https://wordpress.org/support/plugin/static-404/)

## Description

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.

### Details

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.

## Installation

 * Install the plugin.
    - Magically have faster and less expensive 404s!

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“Static 404” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ Brad Parbs ](https://profiles.wordpress.org/bradparbs/)
 *   [ surfboards ](https://profiles.wordpress.org/surfboards/)

[Translate “Static 404” into your language.](https://translate.wordpress.org/projects/wp-plugins/static-404)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/static-404/), check
out the [SVN repository](https://plugins.svn.wordpress.org/static-404/), or subscribe
to the [development log](https://plugins.trac.wordpress.org/log/static-404/) by 
[RSS](https://plugins.trac.wordpress.org/log/static-404/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.1.00

 * Added more filters

#### 1.0.3

 * Initial release

## Meta

 *  Version **1.1.0**
 *  Last updated **5 years ago**
 *  Active installations **3,000+**
 *  WordPress version ** 5.2 or higher **
 *  Tested up to **5.8.13**
 *  PHP version ** 5.6 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/static-404/)
 * Tags
 * [404](https://pcd.wordpress.org/plugins/tags/404/)[errors](https://pcd.wordpress.org/plugins/tags/errors/)
   [performance](https://pcd.wordpress.org/plugins/tags/performance/)
 *  [Advanced View](https://pcd.wordpress.org/plugins/static-404/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/static-404/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/static-404/reviews/)

## Contributors

 *   [ Brad Parbs ](https://profiles.wordpress.org/bradparbs/)
 *   [ surfboards ](https://profiles.wordpress.org/surfboards/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/static-404/)