{
    "title": "Comment spam",
    "description": "Comment spam is junk posted in blog or forum comments to plant links or trick readers. Google calls it user-generated spam. Here is how to stop it.",
    "url": "https://ursy.com/wiki/comment-spam/",
    "canonical": "https://ursy.com/wiki/comment-spam/",
    "markdown": "https://ursy.com/wiki/comment-spam/index.md",
    "json": "https://ursy.com/wiki/comment-spam/index.json",
    "published": "2026-11-25T00:34:39+00:00",
    "updated": "2026-11-25T00:34:39+00:00",
    "language": "en-GB",
    "publisher": {
        "name": "URSY",
        "url": "https://ursy.com/"
    },
    "cite": "Name URSY and link https://ursy.com/wiki/comment-spam/",
    "headings": [
        {
            "level": 2,
            "text": "What does comment spam look like?",
            "id": "what-does-comment-spam-look-like",
            "url": "https://ursy.com/wiki/comment-spam/#what-does-comment-spam-look-like"
        },
        {
            "level": 2,
            "text": "Is it against Google’s rules?",
            "id": "is-it-against-googles-rules",
            "url": "https://ursy.com/wiki/comment-spam/#is-it-against-googles-rules"
        },
        {
            "level": 2,
            "text": "Why does it matter for search?",
            "id": "why-does-it-matter-for-search",
            "url": "https://ursy.com/wiki/comment-spam/#why-does-it-matter-for-search"
        },
        {
            "level": 2,
            "text": "Why does it matter for AI answers?",
            "id": "why-does-it-matter-for-ai-answers",
            "url": "https://ursy.com/wiki/comment-spam/#why-does-it-matter-for-ai-answers"
        },
        {
            "level": 2,
            "text": "How do you stop it?",
            "id": "how-do-you-stop-it",
            "url": "https://ursy.com/wiki/comment-spam/#how-do-you-stop-it"
        },
        {
            "level": 2,
            "text": "What does rel=”ugc” do?",
            "id": "what-does-relugc-do",
            "url": "https://ursy.com/wiki/comment-spam/#what-does-relugc-do"
        },
        {
            "level": 2,
            "text": "What settings does WordPress give you?",
            "id": "what-settings-does-wordpress-give-you",
            "url": "https://ursy.com/wiki/comment-spam/#what-settings-does-wordpress-give-you"
        },
        {
            "level": 2,
            "text": "Common mistakes",
            "id": "common-mistakes",
            "url": "https://ursy.com/wiki/comment-spam/#common-mistakes"
        },
        {
            "level": 2,
            "text": "A worked example",
            "id": "a-worked-example",
            "url": "https://ursy.com/wiki/comment-spam/#a-worked-example"
        },
        {
            "level": 2,
            "text": "How to check it",
            "id": "how-to-check-it",
            "url": "https://ursy.com/wiki/comment-spam/#how-to-check-it"
        },
        {
            "level": 2,
            "text": "Questions",
            "id": "questions",
            "url": "https://ursy.com/wiki/comment-spam/#questions"
        },
        {
            "level": 3,
            "text": "Should I turn comments off?",
            "id": "should-i-turn-comments-off",
            "url": "https://ursy.com/wiki/comment-spam/#should-i-turn-comments-off"
        },
        {
            "level": 3,
            "text": "Does nofollow stop the spam?",
            "id": "does-nofollow-stop-the-spam",
            "url": "https://ursy.com/wiki/comment-spam/#does-nofollow-stop-the-spam"
        },
        {
            "level": 3,
            "text": "Is referral spam the same thing?",
            "id": "is-referral-spam-the-same-thing",
            "url": "https://ursy.com/wiki/comment-spam/#is-referral-spam-the-same-thing"
        },
        {
            "level": 2,
            "text": "Related words",
            "id": "related-words",
            "url": "https://ursy.com/wiki/comment-spam/#related-words"
        },
        {
            "level": 2,
            "text": "Sources",
            "id": "sources",
            "url": "https://ursy.com/wiki/comment-spam/#sources"
        }
    ],
    "links": [
        {
            "text": "Google",
            "url": "https://ursy.com/wiki/google/",
            "internal": true
        },
        {
            "text": "search engines",
            "url": "https://ursy.com/wiki/search-engine/",
            "internal": true
        },
        {
            "text": "keywords",
            "url": "https://ursy.com/wiki/keyword/",
            "internal": true
        },
        {
            "text": "anchor text",
            "url": "https://ursy.com/wiki/anchor-text/",
            "internal": true
        },
        {
            "text": "spam policies",
            "url": "https://developers.google.com/search/docs/essentials/spam-policies",
            "internal": false
        },
        {
            "text": "link spam",
            "url": "https://ursy.com/wiki/link-spam/",
            "internal": true
        },
        {
            "text": "site reputation abuse",
            "url": "https://ursy.com/wiki/site-reputation-abuse/",
            "internal": true
        },
        {
            "text": "thin content",
            "url": "https://ursy.com/wiki/thin-content/",
            "internal": true
        },
        {
            "text": "manual action",
            "url": "https://ursy.com/wiki/manual-action/",
            "internal": true
        },
        {
            "text": "crawling",
            "url": "https://ursy.com/wiki/crawling/",
            "internal": true
        },
        {
            "text": "crawl budget",
            "url": "https://ursy.com/wiki/crawl-budget/",
            "internal": true
        },
        {
            "text": "blog commenting",
            "url": "https://ursy.com/wiki/blog-commenting/",
            "internal": true
        },
        {
            "text": "black-hat",
            "url": "https://ursy.com/wiki/black-hat-seo/",
            "internal": true
        },
        {
            "text": "prompt injection",
            "url": "https://ursy.com/wiki/prompt-injection/",
            "internal": true
        },
        {
            "text": "Prompt Injection Checker",
            "url": "https://ursy.com/prompt-injection-checker/",
            "internal": true
        },
        {
            "text": "preventing user-generated spam",
            "url": "https://developers.google.com/search/docs/monitor-debug/prevent-abuse",
            "internal": false
        },
        {
            "text": "CAPTCHA",
            "url": "https://ursy.com/wiki/captcha/",
            "internal": true
        },
        {
            "text": "Noindex",
            "url": "https://ursy.com/wiki/noindex/",
            "internal": true
        },
        {
            "text": "IP address",
            "url": "https://ursy.com/wiki/ip-address/",
            "internal": true
        },
        {
            "text": "server logs",
            "url": "https://ursy.com/wiki/server-logs/",
            "internal": true
        },
        {
            "text": "log file analysis",
            "url": "https://ursy.com/wiki/log-file-analysis/",
            "internal": true
        },
        {
            "text": "qualifying outbound links",
            "url": "https://developers.google.com/search/docs/crawling-indexing/qualify-outbound-links",
            "internal": false
        },
        {
            "text": "sponsored and UGC links",
            "url": "https://ursy.com/wiki/sponsored-and-ugc-links/",
            "internal": true
        },
        {
            "text": "nofollow",
            "url": "https://ursy.com/wiki/nofollow/",
            "internal": true
        },
        {
            "text": "Discussion settings guide",
            "url": "https://wordpress.org/documentation/article/settings-discussion-screen/",
            "internal": false
        },
        {
            "text": "WordPress SEO",
            "url": "https://ursy.com/wiki/wordpress-seo/",
            "internal": true
        },
        {
            "text": "bots",
            "url": "https://ursy.com/wiki/bot-web-robot/",
            "internal": true
        },
        {
            "text": "user-generated content",
            "url": "https://ursy.com/wiki/user-generated-content/",
            "internal": true
        },
        {
            "text": "disavow",
            "url": "https://ursy.com/wiki/disavow/",
            "internal": true
        },
        {
            "text": "Broken Link Checker",
            "url": "https://ursy.com/broken-link-checker/",
            "internal": true
        },
        {
            "text": "Link Juice Checker",
            "url": "https://ursy.com/link-juice-checker/",
            "internal": true
        },
        {
            "text": "WordPress Security Checker",
            "url": "https://ursy.com/wordpress-security-checker/",
            "internal": true
        },
        {
            "text": "Google Search Console",
            "url": "https://ursy.com/wiki/google-search-console/",
            "internal": true
        },
        {
            "text": "scraper and flood detector",
            "url": "https://ursy.com/pro/scraper-and-flood-detector/",
            "internal": true
        },
        {
            "text": "prompt injection guard",
            "url": "https://ursy.com/pro/prompt-injection-guard/",
            "internal": true
        },
        {
            "text": "Referral spam",
            "url": "https://ursy.com/wiki/referral-spam/",
            "internal": true
        },
        {
            "text": "Spamdexing",
            "url": "https://ursy.com/wiki/spamdexing/",
            "internal": true
        },
        {
            "text": "Unnatural link",
            "url": "https://ursy.com/wiki/unnatural-link/",
            "internal": true
        },
        {
            "text": "Negative SEO",
            "url": "https://ursy.com/wiki/negative-seo/",
            "internal": true
        }
    ],
    "words": 1073,
    "text": "Comment spam is junk posted in the comment section of a blog, shop review area or forum, usually to plant a link, push a product or trick readers, rather than to join the conversation. Google treats it as user-generated spam, and it can drag down how search engines see the page it sits on. What does comment spam look like? “Great post, very helpful!” with a link to a casino, a loan site or a fake shop. A name field filled with keywords, such as “cheap boiler cover London”, so the author link becomes anchor text. Long blocks of copied text with 5 or 10 links in them. Comments in a language the site does not use. Links to phishing pages, malware or fake login forms. Old-style pingbacks and trackbacks that only exist to leave a link. Is it against Google’s rules? Yes. Google’s spam policies describe user-generated spam as junk that visitors post through the parts of a site built for them to write in, and they name comment spam on blogs as an example. The same page lists forum comments with optimised links in the post or signature as a form of link spam. Google also notes that site owners are often unaware it is there. Having comments is not the problem. Google says sites built for user content, such as forums and comment sections, are not what its site reputation abuse policy targets. The risk comes from spam left to pile up. Why does it matter for search? Bad neighbours. Links to scam or adult sites sit on your page in your name. Thin pages. Hundreds of junk replies bury the useful text and can make a page look like thin content. Policy risk. Spam left in place breaks Google’s rules; the Manual Actions report in Search Console is where any manual action would show. Wasted crawling. Paged comment threads and spam-generated URLs eat crawl budget. Readers leave. Visitors who see junk trust the page less. For the spammer, the link is the prize. That is why blog commenting for links is treated as a black-hat tactic, and why the links rarely help them. Why does it matter for AI answers? AI systems read whole pages. A junk comment that claims a false fact, a fake discount or a “new support number” sits in the same text as your real content. An assistant that summarises the page could repeat it. Some spam now hides instructions aimed at AI tools, which is prompt injection. Our Prompt Injection Checker scans a page for that kind of hidden text. How do you stop it? Google’s guide to preventing user-generated spam lists the main defences: Publish an abuse policy and let trusted users flag spam. Moderate. Google says manual approval of some interactions can cut spam a great deal. Use a CAPTCHA or similar check so only people can post. Mark links. Add nofollow or ugc to links in untrusted content to remove the reward. Noindex new users’ posts until they build a reputation. Block repeat offenders by IP address, and use anti-spam plugins. Watch your server logs for sudden traffic spikes; see log file analysis. What does rel=”ugc” do? Google’s page on qualifying outbound links recommends marking links in comments and forum posts with ugc. It says you may combine values in one rel attribute, and that you can drop the attribute for trusted members. Links with these values will generally not be followed. Read sponsored and UGC links and nofollow for more. What settings does WordPress give you? The WordPress Discussion settings guide covers the built-in tools: Hold a comment for moderation if it has a set number of links. The guide notes spammers now often use only 1 or 2. A moderation word list that holds comments matching words, URLs, emails, IP addresses or user-agent strings. A blocklist that marks matching comments as spam. Use it with care: genuine comments can be caught. Require an approved earlier comment from the same email. Close comments on articles older than a chosen number of days. Only allow registered, logged-in users to comment. Pingbacks and trackbacks can be switched off on the same screen. See WordPress SEO for wider settings. Common mistakes Leaving old posts open. Spam bots love posts from years ago that nobody watches. Approving flattery. “Nice article!” with a link is spam, however polite. Deleting real reviews. Removing honest criticism is not spam control. Keep genuine user-generated content. Blocking by country. It stops some bots and many real customers. Using disavow for your own comments. The disavow tool is for links to your site, not links on it. A worked example Take an example. A garden centre blog has 300 posts and has not checked comments for a year. A sample shows 2,400 waiting comments; about 95% carry links to unrelated sites. They take 4 steps: delete the spam, turn on moderation for any comment with a link, close comments on posts older than 90 days, and add ugc to commenter links. Within a few weeks the moderation queue drops to a handful a day, and the posts read cleanly again. How to check it Run key posts through our Broken Link Checker: spam links often point to dead or moved domains. Use the Link Juice Checker to see how link value moves through a page that is full of commenter links. Check the page for hidden instructions with the Prompt Injection Checker. On WordPress, scan for common weak spots with the WordPress Security Checker. Check Search Console’s Manual Actions and Security Issues reports; see Google Search Console. Our Pro plan adds the scraper and flood detector (Pro) and prompt injection guard (Pro) watch for spikes and hidden text. Questions Should I turn comments off? Only if nobody uses them. Real comments add questions and detail. Moderation usually works better than closing everything. Does nofollow stop the spam? It removes the reward in search but not the bots. Pair it with moderation and a CAPTCHA. Is referral spam the same thing? No. Referral spam fakes visits in your analytics; comment spam posts text on your pages. Related words Link spam User-generated content Spamdexing Unnatural link Negative SEO Sources Google Search Central: Spam policies for Google web search, checked 25 November 2026 Google Search Central: Prevent user-generated spam on your site, checked 25 November 2026 Google Search Central: Qualify your outbound links to Google, checked 25 November 2026 WordPress.org Documentation: Settings Discussion screen, checked 25 November 2026 Updated 25 November 2026 by URSY.",
    "source": "https://ursy.com/wiki/comment-spam/"
}