Skip to content

Advanced Recovery

Core File Verification

  1. Download Fresh WordPress

    wget https://wordpress.org/latest.zip
    

  2. Replace Core Files

    • Keep wp-config.php
    • Keep wp-content directory
    • Replace all other files
  3. Check wp-content

    • Remove PHP files from uploads
    • Verify theme and plugin files
    • Check for hidden .htaccess files

Database Cleanup

Check for malicious content in:

  1. Users Table

    • Remove unknown admin accounts
    • Check user permissions
  2. Options Table

    • Look for suspicious site URLs
    • Check active plugins list
    • Review theme settings
  3. Posts/Pages

    • Search for injected JavaScript
    • Look for hidden iframes
    • Check for spam content

Plugin and Theme Audit

  1. Delete Unused Items

    • Remove all inactive themes
    • Delete unused plugins
    • Keep only what's necessary
  2. Update Everything

    • Update all active plugins
    • Update active theme
    • Enable auto-updates where possible
  3. Replace Suspicious Items

    • Re-install plugins from official repository
    • Get themes from trusted sources only