How to Fix 404 Page not Found error on my website & public_html missing/renamed?
Here in this tutorial we will show you how to fix 404 Page not Found error in your website when public_html is missing from cPanel. But before getting started you can also watch the short video tutorial on how to fix this 404 Page not found error in your website.
If you don’t want to watch the video tutorial, skip and proceed with the text version mentioned below.
It might be frustrating when you see 404 page not found error while accessing your website. It can even become more frustrating when you open your cPanel and found public_html missing or totally changed to a new name. So in order to fix this issue first you need to understand about this.
Let me tell you that this type of error only comes after you transfer infected or vulnerable website(that can be hacked ) from somewhere to Redserverhost or it may also come because of vulnerable website like WordPress with infected themes or plugins.
For special security purpose Redserverhost have installed Imunify360 to deal with such infected websites. Imunify360 detects the malwares in a website and automatically rename public_html so that no one could access it. And as soon public_html is renamed the website begins to throw 404 error.
This security measure is only to ensure the hardening of the website.
To fix 404 Page not Found error & public_html missing issue you need to follow the steps given below:
Step::1 Login to your cPanel
Step::2 Navigate to SECURITY section and open Imunify360. Also check History tab
Step::3 Here you will see the Malware detected by Imunify360
Step::4 Check the Malicious files and fix them manually if you are good in it or contact the developer.