In my opinion, the best way to make sure your fix hacked wordpress that is is through using a WordPress backup plugin. This is a relatively inexpensive, easy and elegant to use way to be sure your website is available to you.
No software system is resistant to vulnerabilities and bugs. Security holes will be found and men will do their best to exploit them. Keeping your software up-to-date is a fantastic way once security holes are found because their products will be fixed by software vendors that are reliable.
There is a section of config-sample.php that is headed"Authentication Unique Keys." There are four definitions which appear within the block. There is a hyperlink within that section of code. You want to enter that link into your browser, copy the contents which you return, and replace the keys you have with the unique, pseudo-random keys provided by the website. This makes it harder for attackers to automatically generate a"logged-in" cookie for your website.
BACK UP your site and keep a copy on your own computer and storage. For this post those who have a site, back up daily. You spend a lot of time and money on your site, don't skip this! The one solution that does it all is BackupBuddy, no additional plug-ins back up database, widgets, plugins and your find out files. Need to move your site this will do it!
Change your password, or admin username and your WordPress password and collect and use other good WordPress security tips to keep hackers out!