Title: Static 404
Author: Brad Parbs
Published: <strong>28 maj 2021</strong>
Last modified: 20 augusti 2021

---

Sök tillägg

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

Det här tillägget **har inte testats med någon av de 3 senaste huvudversionerna 
av WordPress**. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem
när det används tillsammans med nyare versioner av WordPress.

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

# Static 404

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

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

 * [Detaljer](https://sv.wordpress.org/plugins/static-404/#description)
 * [Recensioner](https://sv.wordpress.org/plugins/static-404/#reviews)
 *  [Installation](https://sv.wordpress.org/plugins/static-404/#installation)
 * [Utveckling](https://sv.wordpress.org/plugins/static-404/#developers)

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

## Beskrivning

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!

## Recensioner

Detta tillägg har inga recensioner.

## Bidragsgivare och utvecklare

”Static 404” är programvara med öppen källkod. Följande personer har bidragit till
detta tillägg.

Bidragande personer

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

[Översätt ”Static 404” till ditt språk.](https://translate.wordpress.org/projects/wp-plugins/static-404)

### Intresserad av programutveckling?

[Läs programkoden](https://plugins.trac.wordpress.org/browser/static-404/), kika
på [SVN-filförvaret](https://plugins.svn.wordpress.org/static-404/) eller prenumerera
på [utvecklarloggen](https://plugins.trac.wordpress.org/log/static-404/) via [RSS](https://plugins.trac.wordpress.org/log/static-404/?limit=100&mode=stop_on_copy&format=rss).

## Ändringslogg

#### 1.1.00

 * Added more filters

#### 1.0.3

 * Initial release

## Meta

 *  Version **1.1.0**
 *  Senast uppdaterat **5 år sedan**
 *  Aktiva installationer **3 000+**
 *  WordPress-version ** 5.2 eller senare **
 *  Testat upp till **5.8.13**
 *  PHP-version ** 5.6 eller senare **
 *  Språk
 * [English (US)](https://wordpress.org/plugins/static-404/)
 * Etiketter
 * [404](https://sv.wordpress.org/plugins/tags/404/)[errors](https://sv.wordpress.org/plugins/tags/errors/)
   [performance](https://sv.wordpress.org/plugins/tags/performance/)
 *  [Avancerad vy](https://sv.wordpress.org/plugins/static-404/advanced/)

## Betyg

Än så länge har inga recensioner skickats in.

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

[Se alla recensioner](https://wordpress.org/support/plugin/static-404/reviews/)

## Bidragande personer

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

## Support

Har du något att säga? Behöver du hjälp?

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