Cloud Service >> Knowledgebase >> How To >> How to Create Custom Pages for 404 Not Found Error in cPanel
submit query

Cut Hosting Costs! Submit Query Today!

How to Create Custom Pages for 404 Not Found Error in cPanel

Creating a custom 404 Not Found Mistakes page improves the user experience for your website by giving clients beneficial statistics once they land on an internet page that does not exist. Instead of displaying the default server error website page, you may lay out a web page that aligns together with your brand and guides users in your fundamental site or other crucial sections.

 

Here’s a step-by-step manual to creating a custom 404 Not Found errors web page in cPanel:

Step-through-Step Guide

1. Log into Your cPanel

1. Access your cPanel by typing your domain name followed by using/cpanel (e.g., yourdomain.com/cpanel) to your browser’s address bar.

  •  

2. Log in the use of your cPanel username and password.

2. Access the Error Pages Section

1. Once inside the cPanel dashboard, locate the Error Pages choice beneath the "Advanced" segment.

2. Click on Error Pages to proceed.

3. Select the Domain

1. If you manage more than one domain name or subdomain beneath the equal cPanel account, you'll need to pick the domain for which you want to create a custom error web page.

2. Choose the domain or subdomain from the dropdown menu.

4. Choose the 404 Error Page

You will see a list of to-be-had error codes. Click on 404 (Not Found) to create a custom page for these unique mistakes.

5. Design Your Custom 404 Page

1. You will now be taken to an editor in which you can create the content material on your custom 404 mistakes page.

2. You can include textual content, pics, HTML, and CSS to design a web page that reflects your emblem and helps guide the person. You can upload links on your homepage or advise other pages to your website online that can be beneficial.

 

Example HTML for a Custom 404 Page:

   Page Not Found

   

Oops! We could not discover that web page.

   

It looks like the web page you are looking for doesn't exist. You can go lower back to our homepage or discover other sections of our website.

   404 blunders photograph

6. Save the Page

After designing your custom blunders page, click on Save to submit it.

7. Verify Your Custom 404 Page

1. To ensure your custom 404 Not Found error page is running successfully, attempt journeying a non-existent web page on your internet site (e.g., yourdomain.com/nonexistentpage).

 

2. You have to see the custom page you simply created as opposed to the default server error page.

Optional: Editing the.Htaccess File (If Necessary)

In some cases, you may want to manually specify the custom error page for the use of the. Htaccess report.

Steps to Update.Htaccess:

1. Go to File Manager in cPanel and discover the .Htaccess report to your internet site's root listing (typically in public_html).

2. Edit the. htaccess document using including the subsequent line:

 

ErrorDocument 404 /direction-to-your-custom-404.Html

  •  

Replace /direction-to-your-custom-404.Html with the real course to your custom 404 errors web page.

  •  

3. Save the adjustments and check the custom blunders web page once more.

Benefits of a Custom 404 Page

1. Improved User Experience: Custom 404 pages help customers navigate lower back in your web page in preference to leaving after encountering an error.

 

2. Branding: Custom pages will let you maintain a constant appearance and feel across your website.

 

3. SEO Benefits: A nicely designed 404 page can hold customers engaged in your website online, reducing bounce rates.

 

By following these steps, you could create a helpful and branded custom 404 Not Found blunders web page cPanel that improves the consumer experience on your website.

Cut Hosting Costs! Submit Query Today!

Grow With Us

Let’s talk about the future, and make it happen!