Why it is important to have a proper 404 page

Why it is important to have a proper 404 page

by Kyle Anderson

July 15, 2022

Why it is important to have a proper 404 page

When someone reaches a page within your WordPress website that does not exist, make sure you have a 404 page.

Users might type in the wrong URL for example or clicked on a broken/outdated link.

Some things you could have on your 404 are:

  • Tell the visitor that page is not there. Be specific and clear in your message.
  • Display a sitemap on this page so the user can search to see if they can find the correct page.
  • Show latest posts or content. Maybe one of them will be appealing to the visitor and they will spend more time on the site.
  • Offer the option to let the user send you a message about how they got to your 404 page.
  • Maybe use humor, since the person may be annoyed that the page they are searching for is not available.

Ultimately, this is up to you and what to add. But at a minimum, you should have a sitemap.

If you want to edit the file directly, the 404 page is located on 404.php.

You can exclude any pages you want as well.