Skip to main content

My Entire Website Is Gone After Installing WordPress - How Can I Recover?

Comments

6 comments

  • cPanelLauren
    When you installed wordpress were you using an index.html file prior to the installation? If you rename that file doe the website function again?
    0
  • lanet01
    When you installed wordpress were you using an index.html file prior to the installation? If you rename that file doe the website function again?

    Prior to installion there must have been index.html file, because the website was running well online. "If you rename that file does the website function again?" What file do you mean? As in OP, I don't have index.html file in the backup file, nor do I have it in public_html folder. But I do have index.html file from another backup I think (home directory backup) and when I put it in public_html, the website runs, but only like 20% of it: images/contents are gone, icons are not showing up properly... I don't understand what could be the cause of the issue.
    0
  • cPanelLauren
    Wordpress doesn't use index.html files it uses index.php files which is why I asked the specific question. Depending on your DirectoryIndex priority configuration if an index.html file is present it would in most cases take precedence over the index.php file.
    0
  • keat63
    Do you have all the other files/images and just missing your index.html file. ? Maybe something like waybackmachine might help you get this back. Just a thought.
    0
  • ffeingol
    If it's just a directory index "thing" you may be able to fix it by putting this in the top of your .htacess file: DirectoryIndex index.html index.php That tells the web server to look for index.html and then index.php. That is a quick/easy way to test if that is the issue. The backup should have all the site files. You can extract the .tar.gz file on your computer. Within the extracted files you should see a folder called 'homedir' and within that will be the public_html folder. All the site files should be there.
    0
  • quietFinn
    I want to restore my website with backup file I have, so it will be just like it was from the time I have made the backup. Any help is appreciated!

    If the backup you made is a Full Backup then only root user can restore it, so you'd have to ask your hosting provider to do it.
    0

Please sign in to leave a comment.