The 404 page is the default page that shows when a user attempts to view a page of your website that doesn’t exist.
The 404 page consists of a headline, a short paragraph and a search form. By default, the short paragraph reads as follows:
The page you are looking for no longer exists. Perhaps you can return back to the site’s homepage and see if you can find what you are looking for. Or, you can try finding it by using the search form below.
Genesis lets you change the content of the short paragraph to whatever you want, using the filter
genesis_404_entry_content. Note that the search form will persist regardless of any edits you make.
Edit the content of the 404 page:
Remove the content of the 404 page altogether:
genesis_404_entry_content is only available to the newer HTML5 Genesis themes. If your site is running on an older XHTML Genesis theme, you’re out of luck.
Genesis Advanced Edits
As an alternative to installing code, the plugin Genesis Advanced Edits allows you to edit the 404 page headline on your Genesis website.
Overwriting the Whole 404 Template
For greater control over your custom 404 page, you can create a new template in your child theme called 404.php. Because of the way the WordPress template hierarchy works, this will fully override the 404 template provided in the parent Genesis Framework. As always, remember the call to
genesis at the end of your template.
genesis_404_entry_content has been included since version 2.2.0.
genesis_404_entry_content is located in 404.php.