What Google itself says about a website that has been hacked and shows advertisements.
- Your site has been demoted in Google’s search results
- Visitors are warned when they find you in Google
IN SHORT: Prevent your website from being injected with advertising
The so-called injections via a script are done via:
a. Outdated plugins where a leak has been found
b. Outdated WordPress version
c. Outdated Themes
d. Nulled plugins/themes (Illegal downloaded premiums)
e. Easy to guess passwords
f. A lack of restrictions…. and I can go on like this until Z..
The websites that we see often have 1 of the above combinations.
Below is the official message from the Developer Tools
Google’s Safe Browsing systems have detected that some pages on your site may be hacked or contain third-party resources such as ads designed to trick users into installing malicious software or handing over sensitive information. To protect your site’s visitors, your site has been demoted in Google’s search results and browsers such as Google Chrome now display a warning when users visit your site.