Skip to content
FunnelGuard

Fix guide by FunnelsGuard

Spam outbound links from comments or widgets: find and fix

SEO-319Medium impactOther toolBy FunnelGuardPublished Updated
On this page

What this issue is

Spam outbound links are links from your pages to unrelated or low-quality sites that you did not choose to add. They usually arrive in two ways: user-generated content (blog comments, forum posts, product reviews, guestbooks, profile pages) and third-party widgets (social feeds, review badges, chat tools, "related posts" plugins, free themes or plugins that hide links in their output).

Spam links make your site look neglected or unsafe. Visitors who see a comment promoting pills or gambling trust you less, and they may leave before they fill in a form. Search engines may also trust your pages less, or apply a manual action for user-generated spam. That can lower rankings for the pages that bring in leads.

How spam links cost you leads
  1. Bot submits commentContains links to unrelated sites
  2. Published unmoderatedLinks go live on your page
  3. Trust dropsVisitors and search engines see junk
  4. Fewer leadsLower rankings and confidence

The break is the moment spam is published without review.

Find spam outbound links
  1. Search Google for your own site

    Search site:yourdomain.com followed by words like casino, viagra, loan, bet or porn. Any hit shows spam Google has indexed.

  2. Crawl the site for external links

    Use a crawler such as Screaming Frog (free up to 500 URLs). Open the External tab and sort by domain. Look for domains you do not recognise, and check which pages link to them.

  3. Check Search Console

    Open Security & Manual Actions > Manual actions and look for a user-generated spam notice. Also review the Links report for pages with odd content.

  4. Review the comment queue and widgets

    Read recent comments, reviews and approved guestbook entries. List every third-party widget and view the page source of each one for links you did not expect.

  5. View the rendered page

    In your browser, use View Source and search for href="http. Also check with JavaScript on, because some widgets add links after load.

Clean up and lock down
  1. Delete the spam

    Remove spam comments, reviews and profiles. Bulk-delete rather than editing, so the links disappear from the page and the database.

  2. Tag user-submitted links

    Add rel="ugc nofollow" to links in comments and reviews. This tells search engines the links were not placed by you and are not endorsed.

  3. Require moderation

    Hold first-time commenters for approval, limit links per comment and turn on a spam filter or CAPTCHA from your platform's own tools.

  4. Remove or replace bad widgets

    If a widget outputs links you did not choose, remove it, update it or switch to a trusted source. Delete nulled or pirated themes and plugins, which often hide links.

  5. Ask for removal from Google if needed

    If a manual action exists, fix the pages and submit a reconsideration request in Search Console explaining what you removed.

Platform-specific settings
  1. Moderate comments

    Go to Settings > Discussion. Tick Comment must be manually approved and Hold a comment in the queue if it contains 2 or more links. Add known spam words to Disallowed Comment Keys.

  2. Clean existing spam

    Go to Comments > Spam and Pending, then Empty Spam. WordPress already adds rel="ugc nofollow" to comment links by default; check your theme has not removed it.

  3. Audit plugins and themes

    Go to Plugins > Installed Plugins and remove anything unused or from untrusted sources. Consider turning comments off on old posts under Settings > Discussion.

Correct markup for a user-submitted linkhtml
<a href="https://example.com/" rel="ugc nofollow noopener" target="_blank">Commenter's site</a>
Comment section before and after

Before

  • Comments publish instantly
  • Links have no rel attribute
  • Dozens of casino and pill links
  • Unknown widget adds footer links

After

  • Comments held for approval
  • Links use rel="ugc nofollow"
  • Spam deleted
  • Unneeded widgets removed
Confirm the cleanup
  • Recrawl the site and check the External links list has no unknown domains
  • Search site:yourdomain.com with spam keywords and find no new results
  • View the source of pages with comments and confirm links carry rel="ugc nofollow"
  • Submit a test comment with a link and confirm it is held for moderation
  • Check Search Console Manual actions shows no issues
  • Request re-indexing for cleaned pages with the URL Inspection tool
Ongoing habits
  • Keep moderation on and review the queue weekly
  • Close comments on old posts or turn them off if you do not use them
  • Install widgets and plugins only from trusted sources and keep them updated
  • Run an external-link crawl each month and compare against the last one
  • Remove unused apps, plugins and embeds
  • Set up Search Console email alerts for manual actions and security issues
How unnoticed spam builds up (example)
  1. Week 1

    Bots start posting comments; a few are approved by mistake

  2. Month 2

    Dozens of spam links are indexed

  3. Month 4

    Visitors report odd content or rankings slip

  4. Day of cleanup

    Spam deleted, moderation and ugc tags added

Questions people ask

Why are there spam links on my website that I did not add?

They usually come from bots posting comments, reviews or guestbook entries that your site publishes without approval, or from a plugin, theme or widget that outputs hidden links. Crawl your site for external links to see where they appear, then remove the source.

Can spam links in comments hurt my Google rankings?

Yes, they can. Google's spam policies cover user-generated spam, and a site that lets it build up can lose trust or receive a manual action. Moderating comments and tagging links with rel="ugc nofollow" reduces the risk.

How do I find spam outbound links on my site?

Search Google for site:yourdomain.com plus words like casino or loan, and crawl your site with a tool such as Screaming Frog to list all external links. Review any unknown domains and the pages that link to them.

Does adding nofollow to comment links fix spam?

No. Nofollow or ugc tells search engines not to pass endorsement through the link, but the spam is still visible to visitors. Delete the spam and use moderation as well.

How do I stop spam comments on WordPress?

Go to Settings > Discussion and require manual approval, hold comments with links in the queue and add spam words to Disallowed Comment Keys. You can also close comments on older posts or use an anti-spam plugin.

Can a third-party widget add spam links to my site?

Yes. Free or untrusted plugins, themes and embeds can add links to their own or paid sites. Check the page source, remove widgets you do not need and install only from trusted sources.

Does FunnelGuard detect spam outbound links?

No. FunnelGuard does not check for spam outbound links yet; it is a possible future check. It monitors journeys such as forms and checkouts, tracking hits and lead delivery.

Does FunnelGuard catch this?

Other tool

Needs a different kind of tool.

Stop finding out from your customers

FunnelGuard runs your real forms and checkouts on a schedule, checks the tracking and the leads behind them, and alerts you once, with a screenshot. Try any paid plan free for 3 days.