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.
- Bot submits commentContains links to unrelated sites
- Published unmoderatedLinks go live on your page
- Trust dropsVisitors and search engines see junk
- Fewer leadsLower rankings and confidence
The break is the moment spam is published without review.
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.
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.
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.
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.
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.
Delete the spam
Remove spam comments, reviews and profiles. Bulk-delete rather than editing, so the links disappear from the page and the database.
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.
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.
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.
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.
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.
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.
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.
Moderate blog comments
In Online Store > Blog posts, open the blog and set Comments to Comments are allowed, but must be moderated. Then review Comments in the blog's admin.
Check review apps
In your review app's settings, turn on approval before publishing and disable links in reviews.
Review app embeds
Go to Online Store > Themes > Customize > App embeds and switch off any app you do not recognise.
Review form and CMS submissions
If you publish user-submitted content through a third-party tool, check it for links and add rel="ugc nofollow" in the template.
Check embeds
Open Pages and look for Embed elements and Custom code in Project settings. Remove any link-injecting snippet you did not add.
Moderate blog comments
In the Wix dashboard, open Blog > Settings and require approval for comments. Delete spam in the comments manager.
Review apps
Go to Settings > Manage Apps and remove apps you no longer use.
Set comment moderation
Open Comments in the Pages panel, then Settings, and set moderation to Require approval. Turn on the anti-spam filter and, if you do not need comments, disable them.
Check code injection
Go to Settings > Advanced > Code Injection and remove any code you do not recognise.
Add rel to user links
When you render user-submitted links, output rel="ugc nofollow noopener" every time, and strip or escape HTML in comments.
Rate limit and validate
Limit links per submission, use a spam-check service and keep new posts in a pending state until approved.
<a href="https://example.com/" rel="ugc nofollow noopener" target="_blank">Commenter's site</a>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
- 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
- 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
Week 1
Bots start posting comments; a few are approved by mistake
Month 2
Dozens of spam links are indexed
Month 4
Visitors report odd content or rankings slip
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.
Related issues
- SEO-312Site hacked with spam pages or cloaked redirectsFix guide
- SEO-317Compromised third-party script injecting linksFix guide
- SEO-316Cloaking: different content to bots and usersFix guide
- SEO-313Malware flagged by Google Safe BrowsingFix guide
- SEO-314Deceptive site warning (phishing)Fix guide
- SEO-315Sneaky mobile redirects to ad networksFix guide