Spam rules · 2 min read

What to do if your website is hacked: Google's view

If your site is hacked, Search Console's Security issues report lists what Google found, with some affected URLs, and links to fix steps for each kind of hack, including malware, code injection, content injection and URL injection.

What it means for your Maryland business

If your website is hacked, open the Security issues report in Search Console to see what Google found, have the site cleaned or restored from a clean backup, close the weakness that let the attacker in and request a review. Google's report sorts hacks into types: malware, code slipped into your pages, spammy text or links added to them, and whole new pages the attacker created. Any Maryland business site can be hit, especially ones rarely updated. Google names outdated WordPress, Drupal or Joomla! installs and third-party plugins among the ways in.

An Easton florist's owner types the shop's address into a browser and sees nothing wrong. Then a customer mentions that clicking the shop in Google led to a gambling page. Google explains that hackers often target only visitors coming from Google, or certain browsers, to avoid detection. The web person checks pages with Search Console's URL Inspection tool, which shows a page as Google sees it, and finds an injected redirect plus pages nobody created. They restore clean files, delete the added pages, update plugins, reset passwords and explain each fix in the review request.

Opening infected pages in your own browser can damage your computer, Google warns, so use the inspection tool instead. The listed URLs aren't complete, and an issue shown with none can still affect pages. Fixing a few pages leaves the site flagged. And sending a review request before everything is fixed lengthens the next review and can mark the site as a repeat offender.

If the site stored customer accounts, Maryland's Personal Information Protection Act counts a username or email address combined with a password or security question and answer that opens a person's email account as personal information, and when a breach requires notice, affected people must be notified no later than 45 days after the business discovers or is notified of the breach.

Maryland laws and agency guidance cited above:

What to do this week

3 steps. Ticks are saved to Your plan on this device.

Open Your plan

01
Keep your website platform, themes and plugins updated, or ask whoever runs your website to do it on a schedule.
02
If customers report strange pages or redirects, have your web person check for hacked content right away.
03
Follow Google's tips on fixing hacked sites and avoiding being hacked.

In Google's words

“Pages or sites affected by a security issue can appear with a warning label in search results or an interstitial warning page in the browser when a user tries to visit them.”

Google, exact quote · Security issues report - Search Console Help · checked against this page 2026-11-28

What Google says

If your site is hacked, Search Console's Security issues report lists what Google found, with some affected URLs, and links to fix steps for each kind of hack, including malware, code injection, content injection and URL injection. Google says to fix every listed issue across the whole site, since fixing some pages "will not earn you a partial return to search results", then select Request Review and describe your fixes. Reviews take days to weeks, and resubmitting too early slows things down.

Report an error