<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>WordPress comments - Matteo Cisilino</title>
	<atom:link href="https://www.cisilino.com/en/tag/wordpress-comments/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.cisilino.com/en/</link>
	<description>Guide su WordPress, server e sicurezza</description>
	<lastBuildDate>Wed, 11 Nov 2026 17:53:04 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.1.4</generator>
	<item>
		<title>Comment spam and Contact Form 7: limiting visitors</title>
		<link>https://www.cisilino.com/en/2026/11/11/comment-spam-contact-form-7/</link>
					<comments>https://www.cisilino.com/en/2026/11/11/comment-spam-contact-form-7/#respond</comments>
		
		<dc:creator><![CDATA[matteocisilino]]></dc:creator>
		<pubDate>Wed, 11 Nov 2026 17:47:00 +0000</pubDate>
				<category><![CDATA[csdn]]></category>
		<category><![CDATA[Contact Form 7]]></category>
		<category><![CDATA[rate limiting]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[WordPress comments]]></category>
		<guid isPermaLink="false">https://www.cisilino.com/?p=168</guid>

					<description><![CDATA[<p>How to stop spam in comments and Contact Form 7: a limit on logged-out visitors blocks bots without stopping people who really write.</p>
<p>The post <a href="https://www.cisilino.com/en/2026/11/11/comment-spam-contact-form-7/">Comment spam and Contact Form 7: limiting visitors</a> first appeared on <a href="https://www.cisilino.com/en/">Matteo Cisilino</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>Two messages in ten seconds come from a person in a hurry. Twenty are a bot. For <strong>Contact Form 7 spam</strong> and spam in comments the plugin relies on exactly this difference.</p>
<figure class="wp-block-image size-large"><img fetchpriority="high" decoding="async" src="https://www.cisilino.com/wp-content/uploads/2026/10/comment-spam-contact-form-7-wordpress.webp" alt="Contact Form 7 spam: two comment bubbles crossed by a pink diagonal line" width="1200" height="630"/></figure>
<h2>How the Contact Form 7 spam limit works</h2>
<p>A logged-out visitor who submits more than N comments or forms (2 by default) within a short window (60 seconds by default) is blocked <strong>only for that type of submission</strong>, for a configurable length of time (1 hour by default). The pages stay reachable: what is refused is the submission that looks like Contact Form 7 spam, not the visit. Someone who overdid it in good faith doesn&#8217;t lose the site.</p>
<h2>It works with comments disabled too</h2>
<p>The count lives in a dedicated table. If comments are off and the only way in is the contact form, the limit still protects you from Contact Form 7 spam.</p>
<h2>What you can adjust in the Contact Form 7 spam limit</h2>
<p>These settings shape how the Contact Form 7 spam limit behaves:</p>
<ul>
<li>A separate switch for the limit and for the email alert.</li>
<li>Alert on authors is on by default, the one on visitors is off.</li>
<li>N, window and block length, all adjustable.</li>
<li><a href="https://www.cisilino.com/en/2026/10/29/cisilino-site-defense-network-security-plugin/">Cisilino Site Defense Network: the WordPress security plugin</a></li>
</ul>
<h2>A classic scenario</h2>
<p>A brochure site with a single contact form can suffer classic Contact Form 7 spam: every night a bot sends hundreds of requests full of links. The company mailbox becomes unusable. With the limit on, the bot crosses the threshold after a few requests, its IP stays out of the forms for an hour and the flow stops. Anyone who really writes from another address doesn&#8217;t notice. The form plugin&#8217;s own page is <a href="https://wordpress.org/plugins/contact-form-7/" target="_blank" rel="noopener">Contact Form 7 on WordPress.org</a>, useful to check which version you run.</p>
<p>A warning for sites behind a proxy or CDN: if every visitor appears to come from the same address, the block would hit everybody. Before switching it on, check that WordPress sees the real IP.</p>
<h2>Frequently asked questions</h2>
<h3>Does the limit block the whole site for the visitor?</h3>
<p>No. It only refuses the submission of comments or forms, the pages stay reachable.</p>
<h3>Does it work against Contact Form 7 spam?</h3>
<p>Yes, it counts both comments and Contact Form 7 form submissions, even with comments disabled.</p>
<h3>What values does it use by default?</h3>
<p>More than 2 submissions in 60 seconds, a 1-hour block. All values are configurable.</p>
<h2>Read more</h2>
<ul>
<li><a href="https://www.cisilino.com/en/?p=97">Compromised WordPress account: suspend users who publish too much</a></li>
<li><a href="https://www.cisilino.com/en/?p=85">WordPress IP whitelist: manual unblocking and timed bans</a></li>
</ul><p>The post <a href="https://www.cisilino.com/en/2026/11/11/comment-spam-contact-form-7/">Comment spam and Contact Form 7: limiting visitors</a> first appeared on <a href="https://www.cisilino.com/en/">Matteo Cisilino</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://www.cisilino.com/en/2026/11/11/comment-spam-contact-form-7/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
