Your website’s 404 page lets a visitor know if they tried to access a page that does not exist. This guide will show you how to view and customize your site’s 404 page.
In this guide
The purpose of a 404 page is to display an error when a visitor tries to view a page on your website that does not exist:
To view your website’s 404 page, type your site’s address followed by a random string of characters – for example yourgroovydomain.com/sdltkgbd
. As the page does not exist on your site, you will arrive at the 404 error page.
If you arrive on this error page, it’s likely because of one of these reasons:
- You have mistyped the page’s URL in your browser.
- You changed the page’s permalink and are trying to access the old URL.
- The page is set as a draft. In your dashboard, navigate to Pages and click on the Drafts tab to make the page publicly accessible.
- The page is set to display blog posts, but your site has no published posts. In your dashboard, navigate to Posts → Add New and publish your first post.
Every WordPress site has a 404 error page built in, commonly displaying text such as “Oops! That page can’t be found” or “Nothing Found.” You can personalize this page by following the steps in the next section.
If your site uses a theme that supports the site editor, you can access and edit the 404 template. A quick way to determine if your site uses the site editor is to check for Appearance → Editor in your dashboard.
To modify the default 404 error page template for your site, take the following steps:
- Visit your site’s dashboard.
- Navigate to Appearance → Editor.
- In the Design options on the left, select “Templates.”
- Click on “404” in the list of templates to view the template.
- Click anywhere on the template to begin editing in the WordPress editor.
- Click the “Save” button at the top of the screen to save your changes.
You can get creative with designing your 404 page – the possibilities are endless! At a minimum, we recommend your 404 page contains the following:
- A link back to your homepage.
- A search box to locate the page the visitor was looking for.
- A navigation menu to browse your other pages.
You can also improve your 404 error page by adding catchy text, fun GIFs, or any other content blocks you like.