このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Static 404

説明

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.

インストール

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

評価

このプラグインにはレビューがありません。

貢献者と開発者

Static 404 はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Static 404” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.1.00

  • Added more filters

1.0.3

  • Initial release