Saturday, November 21, 2026
HomeMobile SEOHow To Create A Customized 404 Web page In WordPress

How To Create A Customized 404 Web page In WordPress

[ad_1]

When navigating a web site, few issues are extra irritating than touchdown on a display screen with a 404 error, “Web page Not Discovered.”

This situation may trigger a consumer to click on away out of your web site rapidly.

To forestall this, you possibly can make sure that your inner web page hyperlinks are appropriate and dealing.

However what occurs if somebody varieties within the unsuitable URL or the slug of one of many web page hyperlinks adjustments?

Sadly, it’s inevitable for customers to finish up stumbling throughout a non-existent URL.

Nevertheless, you possibly can take steps to assist individuals get again to the web page they had been in search of so that they don’t bounce off of your web site.

Why Do I Want A 404 Web page?

One approach to take the sting out of customers turning into misguided and as a substitute create a optimistic consumer expertise is so as to add a customized 404 web page to your web site.

This lets you present slightly character and persona, maybe even humor, in your web site and a hyperlink for them to get again on observe.

Moreover, you can add hyperlinks to different common pages, reminiscent of blogs, or hyperlink them to a kind in the event that they wished to report the dangerous connection that led them to the 404 web page.

You is likely to be tempted to have a 404 error occasion hyperlink to your homepage as a substitute of a customized error web page.

This will confuse the consumer, as they might not understand they’d an incorrect URL as a result of they nonetheless find yourself on the homepage.

Redirecting customers to the homepage may also have an effect on your website positioning, as Google nonetheless sees this redirect as a soft-404 error.

Based on Google, redirecting all 404 hyperlinks to your homepage will likely be a difficulty. Web site house owners ought to all the time concentrate on constructing user-friendly 404 pages.

Setting Up A Customized 404 Web page

Relying on the WordPress theme, you will have a number of choices to benefit from a customized 404 web page.

Utilizing a plugin to create a customized 404 web page ought to work nicely with any up-to-date theme.

Basic WordPress Themes & Block Editor Themes

Choice 1: Use Theme’s 404.php

2020 theme 404 pageScreenshot from WordPress Dashboard, September 2022

If you’re snug working together with your web site’s PHP recordsdata, many themes will have already got a template for a 404 web page.

  • Step 1: Go to Look > Theme File Editor within the WordPress dashboard.
  • Step 2: Choose your theme within the dropdown menu and search for the 404.php file.
  • Step 3: Ideally, you’ll wish to copy the 404.php to your baby theme so that you just gained’t lose your work with theme updates.
  • Step 4: Personalize the textual content, and add a picture or different parts to make it your personal.
  • Step 5: Hit’ Replace File’ to avoid wasting your adjustments.

Choice 2: Copy A 404.php File

Some themes could not embody a 404.php file. If that is so, you possibly can copy a 404.php file over from a distinct theme, reminiscent of Twenty-Twenty, with a 404.php file.

This will likely require some tweaking to match your theme, however you possibly can customise the 404.php file and put it aside inside your theme folder.

  • Step 1: Discover a theme with a 404 web page that you just wish to use.
  • Step 2: Navigate into the theme folder for that theme and make a replica of the 404.php file.
  • Step 3: Transfer the copy into the theme folder of the theme or baby theme your web site makes use of, ensuring it’s referred to as 404.php.
  • Step 4: Take a look at the 404 web page at your web site’s front-end to make sure every thing seems to be as you count on.
  • Step 5: You should utilize the identical steps as above for making adjustments to the file within the Theme File Editor and hit Replace File to avoid wasting your adjustments.

Choice 3: Copy The Index.php File

In case your theme doesn’t embody a 404.php file, that is one other various to create one.

  • Step 1: You will want to duplicate the index.php file.
  • Step 2: Rename the duplicate 404.php
  • Step 3: Take away the code used to show posts.
  • Step 4: Personalize the textual content, and add a picture or different parts to make it your personal.
  • Step 5: Hit Replace File to avoid wasting your adjustments.

You will want some PHP and HTML information, however this feature implies that the 404 web page will match your present theme, so it’s a bit cleaner than utilizing a 404 web page from a distinct theme.

Create A 404 Web page Inside A Web page Builder

If you’re utilizing a WordPress web page builder reminiscent of Elementor, Divi, Beaver Builder, or Oxygen, you will have the choice throughout the interface of your builder so as to add a 404 web page.

You must seek the advice of together with your most well-liked builder’s documentation for extra particulars on the place you possibly can regulate the settings to redirect any unsuitable URLs to your customized 404 web page.

Use A 404 Web page WordPress Plugin

A straightforward manner so as to add a customized 404 web page to any WordPress web site is to make use of a WordPress 404 web page plugin.

404page pluginScreenshot from WordPress.org, September 2022

 

These plugins will help you design the customized 404 web page and observe 404 errors. Some common 404 web page plugins embody:

404page – your sensible customized 404 error web page – That is an very simple 404 web page plugin you should utilize totally free. Create a brand new WordPress web page you wish to be your customized 404 web page. To set this as your customized 404 web page, go to ‘Look’ in your WordPress dashboard, then navigate to ‘404 Error Web page’ and choose the web page you created, turning into the default 404 web page.

SeedProd – This WordPress plugin lets you create stunning, light-weight, personalized 404 web page templates that you should utilize in your web site.

SeedProd pluginScreenshot from WordPress.org, September 2022

Colorlib 404 Customizer – This free WordPress plugin makes use of the Reside Customizer to simply create a customized 404 web page that matches the look of your web site.

The settings present up in your WordPress dashboard underneath Look > Customise and help you add extra CSS to customise your 404 web page additional.

Colorlib 404 Customizer pluginScreenshot from WordPress.org, September 2022

Customized 404 Professional – This WordPress plugin lets you create a customized 404 web page within the Pages part of the WordPress admin dashboard. Moreover, it’s going to allow you to trace cases of URLs entered that prompted the 404 web page so you possibly can monitor damaged hyperlinks.

Custom 404 Pro pluginScreenshot from WordPress.org, September 2022

Full Web site Modifying

If you’re utilizing a WordPress Full Web site Modifying Theme, making a customized 404 web page is simpler than ever. Undergo the next steps to create a customized 404 web page in your WordPress web site.

FSE 2022 theme templatesScreenshot from WordPress Dashboard, September 2022

It should robotically redirect if somebody tries to go to a non-existent web page.

  • Step 1: Within the WordPress dashboard, click on on Look, then navigate to the ‘Editor.’
  • Step 2: Underneath Editor, choose Templates.
  • Step 3: Choose the 404 template.
  • Step 4: Use the block editor to create your customized 404 web page and hit Save.
  • Step 5: Hit Save once more to avoid wasting the template.
FSE Save 404 templateScreenshot from WordPress Dashboard, September 2022

WordPress Customized 404 Pages

A damaged hyperlink or incorrect URL doesn’t should be a catastrophe.

You may make your 404 error web page enjoyable and preserve the consumer engaged by offering a hyperlink to your homepage or one other web page of curiosity in your web site.

Making a customized 404 web page on WordPress is simpler than ever and shouldn’t be missed as a result of it enhances the consumer’s expertise.

This web page additionally lets you observe when guests discover your 404 web page in an effort to appropriate hyperlinks or redirect pages when applicable.

If you wish to see some inventive 404 pages, go to a few of your favourite websites and kind of their URL and add a web page that you realize doesn’t exist to the tip.

You’re certain to get some nice concepts in your personal 404 pages!

Extra assets:


Featured Picture: apghedia/Shutterstock



[ad_2]

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments