You need to be sure that you check all plugins before you add them to your site. A lot of the third party plugins sometimes are created by untrustworthy people. They create them in an effort to steal your blog or site. Some of these plugins have also already been banned from Goggle, for your protection and if Google sees that you are using them they will delete your site from their search engine as well.
2. Recent Version:
Make sure that you are using a recent version of Wordpress. This is due to the fact that every software has bugs or errors that are corrected each time a new version is released. When you use the latest version of Wordpress you are avoiding these issues. You need to understand though that even the most recent versions can have errors; so you need to be careful. A good practice to get into is before you download the most recent version do some research. Look for possible problems that others have encountered. If there seems to be a lot of problems do not download it till they have the issues resolved.
3. Admin Account:
All hackers know that Wordpress has a user admin feature. This feature will allow you to do just about any administrative job available on the Wordpress software. Slow these would be hackers down by removing your admin feature. Instead create a Wordpress admin privileges by using the administration feature. After you have done this then you will need to log out of Wordpress and log back in. Then you should delete the admin user. The new admin user should be different from your original one.
4. Password Protect:
You need to be sure that you password protect your Wordpress software the minute you install it. This will give you an extra layer of protection against would be hackers. Please note though if you have a weak password the hackers can still break through so come up with one that contains a combination of both numbers and letters. The harder you make the password, the less chance the hacker has of gaining access to your Wordpress site.
5. Rename Your Database Tables:
Hackers who attack your site will need access to the database table names. The Wordpress Marketing software allows you to change your table names in order to prevent these would be hackers from attacking your tables.
These are just a few of the security measures, which you can use to prevent your Wordpress from getting banned from Google; when you are hacked. There are many others available and you can find them by typing in security for Wordpress into any search engine. Practicing these steps now can save you a lot of trouble and money later.