skip to Main Content

I messed up and opened up a zip file in my website’s public_html directory. I deleted all of the files but my website is now throwing a 403 forbidden error. The website is connected to a wordpress. cPanel’s rollback feature was disabled when this happened. Is there any way to fix this?

2

Answers


  1. Chosen as BEST ANSWER

    This happened because the file I unzipped contained a file with the same as an existing file in the directory. If this happens to you, it is likely there is a backup of the overwritten file somewhere. Look for index.html first.


  2. A way to solve this is to log in using FileZilla or some other FTP programs and look for missing wordpress files! You might have deleted an important component that wordpress needs to run by accident. Under the Public_html you should see a list of the following files:

    wordpress hierarchy

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search