My Entire Website Is Gone After Installing WordPress - How Can I Recover?
Hello,
So I had website with contents on it: images, texts... The website was working well and running pretty good. Then I decided that it would be good to install WordPress there and continue building the website from there, but after installing WP, my entire website was gone. No contents, no images, I just got a blank welcome page.
But before installing WP, I made Full Account Backup from cPanel. It's saved on my computer in .tar.gz format. For some reason, it does not contain index.html file, so uploading it in public_html folder does nothing.
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!
-
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 -
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 -
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 -
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 -
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 -
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.
Comments
6 comments