The shared server that I used for hosting my WordPress website was hacked recently, and many of the index.php
files, plugin files and uploads were deleted, with my MySQL databases untouched. But after having restored all of it from my local backups, I’m having some weird problems.
- My homepage http://inversekarma.in does not fully load – the sidebar and footer are missing. If I view the page source, it ends at the point where the code for my sidebar starts.
- I am not able to login to the dashboard. It throws a 500 error.
Please help me fix this issue!
P.S.: I have another WordPress blog on the same domain, at http://inversekarma.in/photos
, which is working perfectly without any of the above issues, after I restored the files from my backup.
Had you just overwrote site from backup? Not a good way since it may easily leave broken files or even backdoors.
It is best to erase site completely, then copy clean WordPress archive and copy of your files from backup there. If possible it’s best to restore database from pre-hack backup as well.
If these are not possible I suggest you find someone who handles such cases professionally. There is now way to comprehensively advice on hacking case “in theory”.
See FAQ: My site was hacked « WordPress Codex and How to completely clean your hacked wordpress installation and How to find a backdoor in a hacked WordPress and Hardening WordPress