Link to home
Start Free TrialLog in
Avatar of rgb192
rgb192Flag for United States of America

asked on

recreate wordpress

Quote from another wordpress question:
The only file in your root WordPress folder that you should need to keep (given your screenshot) is the wp-config.php file, unless you've got non standard customisations to the site. You should be able to delete the wp-admin and wp-includes folders (these are the "core" folders David mentioned) and reinstall them from a fresh copy of WordPress.

Cleaning a site isn't easy. You'll very likely have infected files in your plugins, and as David mentioned it's quite a process to remove and reinstall them. On top of that, you'll need to:
* reset all admin user passwords in the database, and probably editor and author user passwords too (and maybe more depending on the site)
* change the database user password on the server and in the wp-config.php file
* change the "authentication unique keys and salts" in the wp-config.php file (there's a note in the file on how to do that)

To be completely thorough, the above should be done offline and without opening WordPress, to avoid reinfection part way through. There may also be other things in the WordPress database that are compromised and open the site up for reinfection. I've found that generally I can clean a site manually without being completely thorough, but it does take quite some time.

Updated wordpress version 4.9.8 (from 4.9.x)
I copied the infected site to my  windows desktop computer.
https://wordpress.org/plugins/wp-clone-by-wp-academy/
and copied using export (built into wordpress.
I deleted all files in folder from server

I have wordpress config file but are you telling me to change database passwords (in the future)?

what should I do now to re create wordpress on shared linux server?
SOLUTION
Avatar of David Favor
David Favor
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of rgb192

ASKER

i gave up on trying to save website.
thanks