Search code examples
wordpress

How do I restore a wordpress backup from scratch?


My server was compromised, so I'm trying to manually restore a backup of http://thesealords.com. My hosting is through GoDaddy, and here's what I've done so far:

  1. Fully reset/wiped the server
  2. Created a new site via godaddy admin panel. Did not install Wordpress via Godaddy application installer at this time.
  3. Re-uploaded all files via FTP to the proper directory.
  4. Manually created a new DB via phpMyAdmin. DB name, username, and password for this DB are also new.
  5. Imported the backed up SQL database. I can see all the WP related tables and, at least as far as I can tell, everything looks okay.
  6. Modified wp-config.php to use the new DB name and credentials from step 4.

The tutorial I've been following says these steps should work. But the site is literally blank and I'm at a loss for what to do next. I can't get to wp-admin or even like an error page. It's literally just loading blank white pages. The only thing I can get to load is a static index.html page I've uploaded.


Solution

  • In this case, I had to delete the .htaccess file in the site root. I had backed it up (and restored it) without really thinking about it. After deleting it, the site worked perfectly.