PHPackages                             bradp/static-404 - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Debugging &amp; Profiling](/categories/debugging)
4. /
5. bradp/static-404

ActiveWordpress-plugin[Debugging &amp; Profiling](/categories/debugging)

bradp/static-404
================

Quickly output a 404 for static files that aren't found, rather than loading the normal 404 page

1.1.0(4y ago)27149[1 issues](https://github.com/bradp/static-404/issues)GPL-2.0-or-laterPHP

Since Aug 20Pushed 1y ago2 watchersCompare

[ Source](https://github.com/bradp/static-404)[ Packagist](https://packagist.org/packages/bradp/static-404)[ RSS](/packages/bradp-static-404/feed)WikiDiscussions main Synced today

READMEChangelog (2)DependenciesVersions (2)Used By (0)

Static 404
==========

[](#static-404)

> A WordPress plugin to quickly send a 404 for missing static files.

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
-------

[](#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.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 86.4% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1777d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/66798?v=4)[Brad Parbs](/maintainers/bradp)[@bradp](https://github.com/bradp)

---

Top Contributors

[![bradp](https://avatars.githubusercontent.com/u/66798?v=4)](https://github.com/bradp "bradp (19 commits)")[![jeffpaul](https://avatars.githubusercontent.com/u/2818133?v=4)](https://github.com/jeffpaul "jeffpaul (2 commits)")[![ImgBotApp](https://avatars.githubusercontent.com/u/31427850?v=4)](https://github.com/ImgBotApp "ImgBotApp (1 commits)")

---

Tags

404error-handlingwordpresswordpress-plugin

### Embed Badge

![Health badge](/badges/bradp-static-404/health.svg)

```
[![Health](https://phpackages.com/badges/bradp-static-404/health.svg)](https://phpackages.com/packages/bradp-static-404)
```

###  Alternatives

[fjogeleit/prometheus-messenger-middleware

Prometheus Middleware for the Symfony Messenger Component

2255.2k](/packages/fjogeleit-prometheus-messenger-middleware)[spatie/craft-ray

Easily debug CraftCMS projects

1638.6k](/packages/spatie-craft-ray)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
