A glowing blue android in profile under a starry sky
Willis Web Design / 01 of 08

Home / SEO Tips / Website Security And SEO

SEO Tips

Website Security And SEO: Hacks, Malware And Spam

Website security and SEO are closely linked: a hacked website can show red warnings in Chrome, drop out of Google and lose customer trust overnight. This guide turns Google’s advice on spam, malware, phishing and repeat offenders into plain English, with checklists to keep your site clean and steps to follow if Google flags it.

Why Website Security Affects Your Google Results

Google runs a service called Safe Browsing. It checks websites for harmful software and deceptive pages, and warns people before they visit them. Chrome may show a full red screen saying a deceptive site is ahead. Search results can carry warnings too. Most visitors turn back, so your traffic falls even if your ranking has not changed.

Google also tells site owners when something is wrong. Problems appear in the Security Issues report in Search Console, with sample addresses and a way to request a review once fixed. If you have not set Search Console up, you may not hear about a hack until a customer mentions it. Our Google Search Console guide shows how to get started.

Google groups its security advice under one heading: preventing and watching for abuse on your site. It covers five topics: spam added by users, malware and unwanted software, preventing infection, phishing and deceptive pages, and the repeat offender policy. This page takes each in turn. Hacked pages full of spam also break Google’s spam policies, so security and SEO cannot be separated.

Website Security And SEO In The SEO Tips Map

Every part of the SEO tips, on one map. The page you are reading is highlighted.

Stopping Spam That Users Add To Your Site

Spammers love open comment boxes, forums, reviews and sign-up forms. They post links and junk that Google may then see as part of your site. Google notes that even small hurdles, such as an unusual question before someone can post, put many of them off.

Say No To Spam Openly

Publish a clear policy on abuse and show it at sign-up. Let trusted users report posts that look like spam.

Spot Spammy Accounts

Keep records of sign-ups. Watch for forms filled in too fast, many requests from one block of IP addresses, odd browser details and strange user names.

Hold Back New Users

Add noindex to posts from brand-new users until they have built a track record, and mark links in their posts as nofollow or ugc.

Approve By Hand

Moderation takes time but cuts spam sharply. Most content systems, WordPress included, have comment approval built in.

Block Repeat Offenders

Once you find one spam account, make it easy to remove the rest. Ban IP addresses behind several of them, use an anti-spam plugin or a firewall deny list.

Stop Automated Sign-Ups

Use a CAPTCHA or similar check on sign-up forms so only people can submit them. Our guide to stopping contact form spam covers gentler options.

Google also says to keep watching. Look out for redirects, piles of adverts, spammy keywords and large blocks of scrambled JavaScript. A site: search and Google Alerts can catch these. Check your server logs for sudden spikes, test new pages against the Safe Browsing service, and set simple alarms, such as thousands of sign-ups overnight from a country you do not serve.

Links inside user posts are worth a closer look. Our URL structure and links guide explains nofollow and ugc, and meta tags and noindex explains how to keep thin posts out of the index.

Malware And Unwanted Software In Plain Words

Google checks sites for software and downloads that harm visitors, and lists suspect files in the Security Issues report. It draws a line between two kinds.

Malware

Software or apps built to harm a device, the software on it or the person using it, such as installing things without consent or planting viruses. Many owners host it without knowing, after a hack. In the report, “malware” means harmful code that runs on a web page without the visitor doing anything.

Unwanted Software

Programs that behave in sneaky or unexpected ways, such as changing your browser’s home page without asking or leaking personal data without saying so. In the report, “harmful downloads” means malware or unwanted software a visitor has to choose to download.

If you offer any download, from a free tool to a phone app, Google’s guidelines apply. The list is not complete, and breaking it can trigger warnings to users.

Be Honest

Say clearly what the software does. No ads that just say “Download” or “Play”, no play buttons that start a download, no fake pages promising one thing and delivering another. No false alarms that a device is infected, and no “free” cleaners that then demand payment.

Behave As Described

Explain data collection and browser changes plainly and let users approve them. Show bundled extras in the main screens with an easy way to skip them. Use logos and endorsements only with permission.

Do No Harm

Do not hide browser or system alerts, weaken secure connections, break the browser reset or change Chrome without an approved extension. Protect and encrypt personal data. Make uninstalling simple and complete. Signing your software is recommended.

Apps And Extensions

Chrome extensions must come from the Chrome Web Store, start switched off and explain how to remove them. Phone apps must ask before collecting data, not copy other brands, stay within their purpose and deliver what they promise.

You are also responsible for anything bundled with your software. If you fix a problem, request a review in the Security Issues report. Warnings about apps on Google Play go through Play’s own appeal form.

Phishing And Deceptive Pages, Even Ones You Did Not Write

Google calls this social engineering: content that tricks people into doing something risky, such as handing over a password or downloading software. It names three kinds.

  • Phishing: pages that pose as a trusted company, browser or public body to collect passwords, phone numbers or ID numbers.
  • Deceptive content: pages that push people into actions they would only take for someone they trust, such as calling a fake support line, or ads claiming your software is out of date.
  • Poorly labelled third-party services: if another company runs a page on your behalf, such as a payment or booking page, it must say so clearly.

Most owners would never do any of this on purpose. Google’s point is that it often arrives through ads, embedded images or other people’s widgets, or through a hack that adds pages to steal card details. Google treats an embedded deceptive ad as a breach by the page that shows it, whether it appears on the page, in a pop-up or after a redirect. Typical examples are fake browser update pop-ups, fake login pages, and ads dressed up as play buttons or download links.

If a third party runs pages for you, Google asks that its brand shows clearly on every page, that the relationship between you is stated with a link to find out more, and that someone landing on any single page would understand whose site it is. For basic services such as logging in, it suggests using a well-known standard like OAuth. This is part of what makes a site look trustworthy, which also supports the trust signals in our helpful content checklist.

Google’s Security Checklist For Website Owners

Google gives a checklist for preventing infection. The first part applies to everyone. The second part is for anyone with access to the server, or the person who looks after it for you.

For Every Website Owner

  • Use strong, unique passwords for hosting, the site admin and email.
  • Only add apps, plugins and ads from trusted sources that offer support and contact details.
  • Ask your host or platform what security help they offer, and follow their security news.
  • Keep your own computer updated, with current anti-virus software.

For Whoever Has Server Access

  • Review the server set-up: folder permissions, includes, logins and encryption.
  • Back up access control files such as .htaccess before editing, then delete the backup.
  • Keep a list of every program and plugin with its version, and patch them promptly.
  • Do not forget old blogs or forums; forgotten software is a common way in.
  • Watch logs for odd address parameters and traffic spikes to redirect pages.
  • Check for open folders, cross-site scripting and SQL injection weaknesses.
  • Use SFTP and SSH, never plain FTP or telnet.
  • Follow security news so you hear about new threats early.

Out-of-date plugins are the most common way small sites get hacked, especially on WordPress. My website care plans handle updates, backups and checks each month, and fast UK hosting comes with SSL as standard.

Watching For The Early Signs Of A Hack

Google suggests three regular checks, all free.

  1. 01

    Run A Site Search

    Search Google for site: plus your domain now and then. Pages or topics you never wrote are a strong sign of a hack.

  2. 02

    Open Security Issues

    The Security Issues report in Search Console lists hacked pages Google has found, with instructions for fixing them.

  3. 03

    Forward Console Messages

    Google posts an alert in Search Console when it finds malware. Have those messages sent to your email so you hear quickly.

  4. 04

    Check From Outside

    Hackers sometimes hide content from the owner. View your site from a phone on mobile data, not only from your office connection.

site:example.co.uk casino
site:example.co.uk cheap pills

A quick search like this, using words you would never use, should return nothing. If it returns pages, act the same day.

Cleaning Up And Asking Google For A Review

Once you know what happened, Google sets out four steps. Do them in order, and do not rush the review request.

  1. 01

    Check Search Console

    Confirm you are a verified owner and look for new owners you do not recognise. Open the Security Issues report and visit any sample addresses from a device outside your network.

  2. 02

    Remove The Bad Content

    Delete hacked pages, harmful files and deceptive content. If you believe Safe Browsing has made a mistake, you can report it to Google.

  3. 03

    Check Third-Party Content

    Ad networks rotate ads, so reload pages several times. Ads may differ on phones and computers; URL Inspection shows what Google sees.

  4. 04

    Request A Review

    Only when everything is clean, request a review from the Security Issues report. Google says reviews can take several days.

Fix the cause as well as the symptoms. A site that flips between clean and infected within a short time is labelled a repeat offender. Google emails the owner through Search Console, and for thirty days no further review requests are accepted. If you are stuck with a problem that will not clear, Google offers a form to report persistent security issues.

After a hack, also check whether Google indexed spam pages under your domain. You may need to take them out of results, as covered in taking pages out of Google, and watch your traffic recover using the traffic drop guide.

How I Build Security Into Every Website

Most of the risks above shrink when there is less to attack. I mostly hand-build static websites with few or no plugins, so there is no admin login or database to break into. Every site gets SSL, security headers and fast UK hosting. Contact forms use a privacy-friendly robot check with no picture puzzles or tracking cookies, and nothing typed into a form is stored on the website. Business email comes with SPF, DKIM and DMARC, explained in the email security guide.

Already have a site? The free website audit scores your home page on phones and computers, and the £20 Pro audit adds checks on security headers, www and https set-up and email security. For the exact fixes, worked out by hand, there is my £595 technical SEO audit. If your site has been hacked more than once, it may be time for a website redesign on a simpler platform. All of my guides are on the SEO Tips map, or you can call me on 07901 233441.

Based on Google Search Central documentation: Preventing and monitoring abuse on your site, Prevent user-generated spam on your site and platform, Malware and unwanted software, Preventing malware infection, Social engineering (phishing and deceptive sites), Google Safe Browsing Repeat Offenders Policy. Licensed under CC BY 4.0. Rewritten in plain English by Willis Web Design; last checked 13 October 2026.

Questions

Questions About Website Security And SEO

How do I know if my website has been hacked?

The clearest sign is a message or email from Google Search Console, or an entry in its Security Issues report. Other clues are pages you never created showing in a site: search, strange words or languages in your results, unexpected redirects, a red warning in Chrome or sudden traffic spikes in your server logs. Check from a device outside your office network, as hackers sometimes hide content from site owners.

Will a hack hurt my Google rankings?

It can. Google may show a warning before people visit, label your result, or drop spammy hacked pages. Even when rankings hold, visitors who see a warning rarely click through. The damage is usually short-lived if you clean the site quickly and ask Google for a review, but it can last longer if the problem keeps coming back.

How long does a Google security review take?

Google says reviews can take several days once you request one from the Security Issues report in Search Console. Only ask once the site is fully clean, including ads and embedded content. If the site keeps switching between clean and infected, Google may treat it as a repeat offender and block new review requests for thirty days.

What is a repeat offender in Google Safe Browsing?

It is a site that switches between following and breaking Safe Browsing rules within a short time, for example being cleaned and then infected again. Google emails the owner through Search Console. While the status lasts, which is thirty days, you cannot request another review. Fixing the root cause, not just the symptoms, avoids it.

Do I need a CAPTCHA on my contact form?

Google suggests some kind of check on sign-up and comment forms so that only people, not scripts, can submit them. It does not have to be a picture puzzle. I use a privacy-friendly robot check with no tracking cookies on every form I build, and nothing typed into the forms is stored on the website itself.

Can adverts on my site get me flagged?

Yes. Google treats deceptive ads and embedded content as part of the page that shows them. An ad that pretends to be a download button or a system warning can get your site labelled as deceptive, even though you did not write it. Refresh your pages several times on phone and computer to see the rotating ads, and drop networks that serve misleading ones.

Next step

See where your website stands, free.

Run a free test of your current site, or call me for a straight answer about what you need.