How to Add Custom Error Page?

How to Add Custom Error Page?

Websites have default 404 error page to inform the readers or visitors that they have landed on a non-existent page. Websites with custom error page have a higher conversion rate and better engagement than regular ones.

What is Error Page?

Websites have a lot of pages, posts, and links on the portal. Pages, Posts and other parts of the sites are removable. Removed pages, or moved content have new links and websites have plenty of links posted on social media, bookmarking sites, backlinks, press releases and more.

If a visitor or traffic visits the page via a removed page or moved content ends up on “404 error page.” The traffic realizes that the page does not exist anymore, and it no longer functions.

Priceless time, effort, and hopes drown in the pipeline, but custom error pages can put a smile on visitors face.

Add Custom Error Page via cPanel

YouStable bundles cPanel as a control panel to manage a website from our web hosting accounts. Yes, we offer cPanel web hosting to the new customers and existing customer.

Step 1: Login to the cPanel account. You can find valid credentials from the email YouStable has sent the customers to a registered email address.

Step 2: Type “error page” in the search bar and click on the first result.

Step 3: If you have multiple domains connected to the account, then select the domain from the list.

Step 4: In the same page, scroll down for step two, and then click on “404 (not found)” and then it will proceed further.

Step 5: Add the custom codes in the error page in the empty field. Click on save to complete the process and close the entire process.

Step 6: Confirmation text shows up on your screen.

Step 7: Go back to the control panel, and type “file manager” then click on the first result.

Step 8: Click on “settings,” and then select “show hidden files (dotfiles)” and click on “save” to finalize the settings.

Step 9: Right-mouse click “.htaccess” file and click on “edit” to add the following codes.

Step 10: Add the following codes, and then click on “save changes” to complete the process.

Codes:

ErrorDocument 500 /500.shtml ErrorDocument 404 /404.shtml

Conclusion

Adding a pleasant custom error page can make someone smile and explore more content on the site. I landed one of the expired links on a GIF images site, and the custom page put a smile on my face. I visit the site, whenever I am looking for a GIF image.





Leave a Comment

Share via
Copy link
Powered by Social Snap