Hello Magento Fellas ūüĎč,

How are you holding up? In this tutorial, I am going to illustrate How to Create Custom 404 Page in Magento 2. In any circumstances, if you missed out on our former published blog, check it out here. Improve Magento 2 performance with AWS CloudFront. Let‚Äôs move on ūüöÄ

Preface:

A 404 Page Not Found error means a particular website or URL is not found on the server. The 404 page not found error occurs when the webpage has been deleted or the URL has been typed incorrectly.

With the 404 Page Not Found, the customer can either leave your store without completing the order or will never return back to your site again. This creates a poor impression of your online store from the customer’s view.

Therefore, setting up a custom 404 page for Magento 2 will be beneficial to maintain the customer’s involvement for your Magento 2 store. It is possible to add images, links, and descriptions in a custom 404 page not found. Setting up a custom 404 page contributes to reducing the bounce rate of your store. It improves customer engagement and thereby increases the sales of the store. Now, eliminate the negative effect by customizing the 404 page not found.

Also, when the site is under maintenance, you can have a Custom Maintenance mode Page in Magento 2 to keep your customers.

Let’s look for the steps to create a custom 404 page in Magento 2.

Steps to Create Custom 404 Page in Magento 2:

Before moving ahead, first, you need to check,404 page not found is set by default in your Magento 2 store.

Step 1: Check the Default Settings

  • From the Admin Panel, go to Stores > Settings > Configuration

 1.Admin

  • From the left pane, enlarge the General tab and select Web

2.Configuration

  • Expand the Default Pages option. Move to CMS No Route Page field.

3.Default Page

It is recommended not to change the default settings of the configuration. But if you wish to change so that the 404 page redirects the customers to any other page of your website, you can select the preferred option from the drop-down list.

Now, we can initiate to set up a custom 404 page in Magento 2.

Step 2: Set up Custom 404 Page in Magento 2

  • Navigate to Content > Elements > Pages

4.Admin_continue

  • Move to 404 Not Found page and open it in Edit mode

5.Edit Page

  • Expand the Content option. You can add the Content Heading and body of your 404 page. It provides the option to add links, tables, numbered lists, bulleted lists, and images.

6.Content

Add the below code into the content section of your 404 page.

  • At last, click the Save button.

That’s it. Your custom 404 page not found is now created as per your requirements.

Final Say:

Thus, by performing the above steps you will be able to efficiently create a custom 404 page for your Magento 2 store. In addition to this, get informed with the 404 Notifier plugin when any user action leads to a 404 not found page. Likewise, you can even manage the 404 error page not found in admin URL in Magento 2.

Comment below your questions and I will make it right for you. Help out your Magento friends by sharing the article with them. Catch you soon till then remain in touch!

Happy Customizing ūüėá

[Total: 8   Average: 5/5]