Running a brand website, or worrying about being a brand yourself, it is a good step to redirect all 404 error to specific error page, for a brandable user experience. Thus it will make your error page look custom & unique. Here’s how to redirect 404 error to custom page or homepage with the help of .htaccess
ON THIS PAGE
Why This Error Occurs ?
This error occurs due to the non availablity of any URL or any URL wrongly entered by client, For example : Instead of writing sitepape.com/blog.html you write sitepape.com/blogger.html . This will be an 404 page. That is not available on our website.
To make those errors branded or to redirect 404 URL to specific pages like HomePage, You can use .htaccess method.
Error Page Just Show Plan Text : Not Found The requested URL was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
You can redirect the error page to your custom made URL either with root access or using .htaccess method.
ErrorDocument 404 https://yoursite.com/error.html SitePape Portal Login & follow the step to fix the issue.
Step By Step Process To Custom Redirect 404 Error using .htaccess
Follow the steps carefully.
- Login to SitePape Portal or Directly Login to your cPanel
- Click on your Service & Click Login to cPanel
- Open File Manager
- Create a File Name : .htaccess
If its showing than click Edit
If Not : Click on Setting Option on the Right & Select Show Hidden Files
Copy & Paste : ErrorDocument 404 https://yoursite.com/error.html
Note : You need to enter your website name & the desired page url.if i want to redirect my 404 page error to https://sitepape.com/error404.html. Than i will save it as : ErrorDocument 404 https://sitepape.com/error404.html
- Now save the file & see the magic.
Login To your SitePape Portal or Visit SitePape.com. You can login via SitePape Portal Login & follow the step to fix the issue.
Step By Step Process To Custom Redirect error 404 Page URL
- Login to SitePape Portal or Visit SitePape.com
- Click Open Ticket or Open Live Chat
- Tell our Technical Team to Redirect 404 error to specific URL : https://yoursite.com/error.html
- Our Executive will do it in no time.
Referesh Your Error Page & Check if Issue is resolved.