WP-Security-Scan

Hacked WordPress Websites

The chances of such things happening on your website can be significantly reduced by following these WordPress security practices.
There are different kinds of hacks that WordPress users face. Most common of them are when a website redirects to some other website with illegal or obscene content, injected links to other websites, strange code in theme files, etc. Remember, that most of the time it is easy to fix these issues.

  • Keep WordPress updated to the latest version
  • Always backup your database and files regularly.
  • Run WP-Security-Scan, an excellent plugin to detect suspicious code in your theme, plugins and core wordpress files. If you find something suspicious in plugins or themes, delete it. If you find something suspicious in your core WordPress files replace them with fresh ones.
  • Check your .htaccess file for changes and suspicious code.
  • Check the file permissions on your website.
  • Read this article on WordPress Codex, Ask for Help in Support Forums, Ask for help from your hosting provider to be sure that it is not a hosting related attack.