Website hacked reinstalled the site, having database or htaccess issues
-
My website was hacked on the hosting server and malware was uploaded. I had previously backed up the site when it was locally installed on my computer.
On the hosting server I kept the database but I dropped all of the tables. From the backed up .sql file on my computer I changed all of the links from https://localhost/wordpress/ or https://127.0.0.1:8080/wordpress/ to https://www.butchswoodshed.com/. I then imported this file into the database located on the hosting server. I added a new user to the host database. I updated the wp-config.php with the new user information and moved it to the host server.
I updated the .htaccess file to
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase /butchswoodshed/ RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . https://www.butchswoodshed.com/ [L] </IfModule> # END WordPress
Now when I visit https://www.butchswoodshed.com it directs me to https://www.butchswoodshed.com/wp-admin/install.php
Also if I do the five minute install it takes me to the dashboard like normal. However if I try to visit the site from the dashboard I get the white screen of death.
Here is a link to the database code. [removed]
Also, I do not think this is a plugin or theme issue as everything was working find until I changed the links in the database.
I also tried optimizing or repairing my tables but that did nothing.
I am stumped as to where to go from here. I have researched but have been unsuccessful finding a solution. All the database info is there, I just can’t get it to play nicely with my wordpress site. Thanks in advance for your help.
- The topic ‘Website hacked reinstalled the site, having database or htaccess issues’ is closed to new replies.