0+
April 1, 2026
December 17, 2025
Take control of your site’s 404 Page Not Found error response with this simple, lightweight and core-friendly plugin.
Out of the box, WordPress treats 404 pages as a technical matter, with themes encouraged to include a hard-coded 404.php template. But that means it’s difficult for site owners to make changes.
404 pages have become a space for websites and publishers to have a little fun, putting a smile on visitors’ faces as their journey is halted. They can also serve a useful navigational purpose, guiding users to the site’s latest or most popular content, or offering a search box.
By using WordPress’s built-in Pages feature, you can design and serve a feature-rich 404 page, making full use of WordPress content and navigation blocks. And you can edit and maintain it as easily as any other Page.
Just activate this plugin, then select your desired Page from the dropdown list on the Settings → Reading page.
Developer documentation and source code are available on GitHub.
This plugin uses modern build tooling for development.
Source code is publicly available at:
https://github.com/rareview/page-as-404
JavaScript and CSS assets are compiled for distribution.
The uncompiled source code and build instructions can be found in the repository above.
Typical development workflow:
composer installcomposer lintcomposer formatnpm installnpm run watch or npm run buildPHP dependencies are managed with Composer for development purposes only.
The distributed plugin includes only the compiled assets required at runtime.
No. The plugin removes your designated 404 page from generated lists of Pages including on-site search results, blocks/widgets, REST API queries, and sitemap.xml. A noindex tag is added to the page header, asking external search engines to ignore it.
Your 404 Page is just a normal Page.
A standard 404 error code is served, unless you access the URL of the Page itself – in which case, it will be a 200 success message.
There is no Settings page; just an extra dropdown on the existing Settings > Reading page. The 404 Page itself exists as a normal Page, and can be found among your site’s Pages.
Once a Page has been selected, any calls to the 404 template are intercepted, and replaced by a request for the selected 404 Page. If your theme contains a 404.php template, it will be ignored.
This plugin keeps things simple and clutter-free. There are numerous plugins in the WordPress repository already, which add functionality to redirect users, log details, or send alerts in the event of a 404 error. If you are looking for extra features, you will probably find them there.
Docs: Fix unicode characters in readme
Preventing password-protected pages from being selected as 404 page
Fixed readme unicode characters issue
Adjust the required PHP and WP versions
Initial release