Solution: 1 – Recovering a Compromised WordPress Site
1. Backup Everything
- Make full backups of your website files and database.
- Store them in a safe location before making changes.
2. Download Your Site Locally
- Copy all website files to your local computer for inspection.
3. Scan and Clean
- Run a reputable antivirus/malware scanner on your local copy.
- Remove or repair any infected files.
4. Replace Core WordPress Files
- Download the correct WordPress version from wordpress.org.
- Replace damaged or corrupted files with original files from the distribution.
5. Upload Clean Files to Server
- Once verified locally, upload the cleaned site back to the remote server.