<?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 - The Clever Shark</title>
	<atom:link href="https://clevershark.com/tag/wordpress/feed/" rel="self" type="application/rss+xml" />
	<link>https://clevershark.com</link>
	<description>Hi. My name is Tony Emond and I&#039;m a blogger.</description>
	<lastBuildDate>Sun, 21 Jun 2026 19:32:11 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=7.0</generator>
	<item>
		<title>Killing WordPress Comment Spam for Fun and Profit</title>
		<link>https://clevershark.com/2026/06/21/killing-wordpress-comment-spam-for-fun-and-profit/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=killing-wordpress-comment-spam-for-fun-and-profit</link>
					<comments>https://clevershark.com/2026/06/21/killing-wordpress-comment-spam-for-fun-and-profit/#respond</comments>
		
		<dc:creator><![CDATA[tony]]></dc:creator>
		<pubDate>Sun, 21 Jun 2026 19:32:11 +0000</pubDate>
				<category><![CDATA[Article]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[comment]]></category>
		<category><![CDATA[settings]]></category>
		<category><![CDATA[spam]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">https://clevershark.com/?p=5817</guid>

					<description><![CDATA[<p>I recently had to &#8220;reboot&#8221; this blog as I had to remove it from a wordpress-multisite installation and serve it as a standalone instance. By the way, if you&#8217;re starting a new WordPress project, avoid multisite installations like the plague, they really don&#8217;t work well and are an expensive pain to spin off, as the &#8230; <a href="https://clevershark.com/2026/06/21/killing-wordpress-comment-spam-for-fun-and-profit/" class="more-link">Continue reading <span class="screen-reader-text">Killing WordPress Comment Spam for Fun and Profit</span></a></p>
<p>The post <a href="https://clevershark.com/2026/06/21/killing-wordpress-comment-spam-for-fun-and-profit/">Killing WordPress Comment Spam for Fun and Profit</a> first appeared on <a href="https://clevershark.com">The Clever Shark</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>I recently had to &#8220;reboot&#8221; this blog as I had to remove it from a wordpress-multisite installation and serve it as a standalone instance. By the way, if you&#8217;re starting a new WordPress project, avoid multisite installations like the plague, they really don&#8217;t work well and are an expensive pain to spin off, as the plugins that actually work for multisite installations are typically much more expensive than the (often free) ones that do not require that capability.</p>
<p>This aside, one of the big problems you will come up against when administering a &#8220;default&#8221; wordpress installation is comment spam. Basically you will see hundreds of comments on your posts pile up, but when you actually have a look at those comments you will quickly realize that almost all of them will be essentially from bots that attempt to spam your posts with links. But you can avoid this with a few very simple steps that will stop the spammers dead in their tracks.</p>
<h1>WordPress Settings</h1>
<p>The relevant settings can be found by logging into your WordPress instance as an administrator, then from the Dashboard going to Settings &gt; Discussion.</p>
<h2>Default post settings</h2>
<p>The first thing to do is decide whether you want to allow comments on your posts at all. It&#8217;s not as obvious as thing as it might seem. If you try to measure engagement by relevant comments on WordPress, you will likely be very disappointed. A much better measure of engagement is how much discussion you can generate on social media sites on which you share your posts. So, the easiest way to cut down on spam is to disable comments entirely by unselecting the checkbox next to  <strong>Allow people to submit comments on new posts </strong>and skipping the rest of this article.</p>
<h2>Other comment settings</h2>
<p>If you do allow comments, the most effective way to cut down on the amount of spam is to select <strong>Users must be registered and logged in to comment</strong> in this section. Spammers are just not going to go through the trouble of registering as a user and will just skip your site, which is the best scenario.</p>
<h2>Before a comment appears</h2>
<p>Unless you expect that your blog will be a particularly busy one in terms of users comments &#8212; and in 2026 that is not a very likely eventuality &#8212; make sure to select both the <strong>Comment must be manually approved</strong> and <strong>Comment author must have a previously approved comment </strong>options. These will make sure that spam comments do not appear under your posts by default. I believe that those are the default settings in WordPress, but you&#8217;ll want to double-check.</p>
<h2>Comment Moderation</h2>
<p>At this point your installation is already pretty secured, but to &#8220;bulletproof&#8221; things you should change the <strong>Hold a comment in the queue if it contains X or more links</strong> option to 1 instead of the default 2.</p>
<h1>Conclusion</h1>
<p>Just adjusting your WordPress settings in the ways described above should cut down the spam submitted to your site by 99%. Sure, having a large number of comments on posts may seem encouraging if you&#8217;re starting a new project, but what you really want is engagement, not people using your site to advertise (mostly) porn and other questionable sites. And in my experience the engagement will actually come from the forums and social media sites on which your share your posts, and not those left on your site.</p>
<p>Thanks for attending my TED talk&#8230;</p><p>The post <a href="https://clevershark.com/2026/06/21/killing-wordpress-comment-spam-for-fun-and-profit/">Killing WordPress Comment Spam for Fun and Profit</a> first appeared on <a href="https://clevershark.com">The Clever Shark</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://clevershark.com/2026/06/21/killing-wordpress-comment-spam-for-fun-and-profit/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>A fresh look?</title>
		<link>https://clevershark.com/2009/02/08/a-fresh-look/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=a-fresh-look</link>
					<comments>https://clevershark.com/2009/02/08/a-fresh-look/#respond</comments>
		
		<dc:creator><![CDATA[tony]]></dc:creator>
		<pubDate>Sun, 08 Feb 2009 04:17:52 +0000</pubDate>
				<category><![CDATA[Site news]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[head]]></category>
		<category><![CDATA[priss]]></category>
		<category><![CDATA[theme]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">http://clevershark.com/?p=1888</guid>

					<description><![CDATA[<p>I thought it would be amusing to shake things up with a skin change &#8212; also a WordPress upgrade broke the plugin I was using to generate the excerpt for my stories on the front page, so this was a move of necessity more than whimsy. This little number is called Head 1.5 and it&#8217;s &#8230; <a href="https://clevershark.com/2009/02/08/a-fresh-look/" class="more-link">Continue reading <span class="screen-reader-text">A fresh look?</span></a></p>
<p>The post <a href="https://clevershark.com/2009/02/08/a-fresh-look/">A fresh look?</a> first appeared on <a href="https://clevershark.com">The Clever Shark</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>I thought it would be amusing to shake things up with a skin change &#8212; also a WordPress upgrade broke the plugin I was using to generate the excerpt for my stories on the front page, so this was a move of necessity more than whimsy. This little number is called Head 1.5 and it&#8217;s by <a href="http://prissed.com/">Priss</a>. It&#8217;s quite pleasant once your eyeballs stop hurting (it is a rather bright template).</p><p>The post <a href="https://clevershark.com/2009/02/08/a-fresh-look/">A fresh look?</a> first appeared on <a href="https://clevershark.com">The Clever Shark</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://clevershark.com/2009/02/08/a-fresh-look/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Back&#8230; for now</title>
		<link>https://clevershark.com/2008/06/28/back-for-now/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=back-for-now</link>
					<comments>https://clevershark.com/2008/06/28/back-for-now/#respond</comments>
		
		<dc:creator><![CDATA[tony]]></dc:creator>
		<pubDate>Sat, 28 Jun 2008 16:01:18 +0000</pubDate>
				<category><![CDATA[Site news]]></category>
		<category><![CDATA[back]]></category>
		<category><![CDATA[bmw]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[duck]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[zend]]></category>
		<guid isPermaLink="false">http://clevershark.com/?p=1775</guid>

					<description><![CDATA[<p>I finally managed to unwrangle the mess that WordPress&#8217;s database update had left behind (seriously, who could fathom that a database update would cause problems in relation to a graphics file in a theme I had installed and wasn&#8217;t even using?). I still think it&#8217;s a hell of a mess, but frankly I haven&#8217;t had &#8230; <a href="https://clevershark.com/2008/06/28/back-for-now/" class="more-link">Continue reading <span class="screen-reader-text">Back&#8230; for now</span></a></p>
<p>The post <a href="https://clevershark.com/2008/06/28/back-for-now/">Back… for now</a> first appeared on <a href="https://clevershark.com">The Clever Shark</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>I finally managed to unwrangle the mess that WordPress&#8217;s database update had left behind (seriously, who could fathom that a database update would cause problems in relation to a graphics file in a theme I had installed and wasn&#8217;t even using?). I still think it&#8217;s a hell of a mess, but frankly I haven&#8217;t had the time to develop my own solution for the time being so at least it&#8217;s fixed and I have a means of giving out my opinions to the world again, flawed or uninteresting as they may prove. I do have a number of articles planned but yet-unwritten on a variety of subjects, like the BMW 1-series (which I drove a while back), the Zend Framework (which will be the basis of the blog that will succeed this one), duck (which is a delicious if fatty meat), and lots of other stuff.</p><p>The post <a href="https://clevershark.com/2008/06/28/back-for-now/">Back… for now</a> first appeared on <a href="https://clevershark.com">The Clever Shark</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://clevershark.com/2008/06/28/back-for-now/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Blog update</title>
		<link>https://clevershark.com/2007/11/29/blog-update/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=blog-update</link>
					<comments>https://clevershark.com/2007/11/29/blog-update/#respond</comments>
		
		<dc:creator><![CDATA[tony]]></dc:creator>
		<pubDate>Thu, 29 Nov 2007 14:39:01 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[bugs]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">http://clevershark.com/?p=1736</guid>

					<description><![CDATA[<p>I managed to &#8220;unbork&#8221; things that the WordPress &#8220;update&#8221; messed up &#8212; mostly by removing dead links &#8212; and put in a silly placeholder for the &#8220;about&#8221; page so clicking the link doesn&#8217;t cause an error anymore. All in all however, I&#8217;m pretty determined to write my own software again and ditch WP, at least &#8230; <a href="https://clevershark.com/2007/11/29/blog-update/" class="more-link">Continue reading <span class="screen-reader-text">Blog update</span></a></p>
<p>The post <a href="https://clevershark.com/2007/11/29/blog-update/">Blog update</a> first appeared on <a href="https://clevershark.com">The Clever Shark</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>I managed to &#8220;unbork&#8221; things that the WordPress &#8220;update&#8221; messed up &#8212; mostly by removing dead links &#8212; and put in a silly placeholder for the &#8220;about&#8221; page so clicking the link doesn&#8217;t cause an error anymore. All in all however, I&#8217;m pretty determined to write my own software again and ditch WP, at least I&#8217;m sure my own SW won&#8217;t have the sort of surprises I&#8217;ve been seeing this week.</p><p>The post <a href="https://clevershark.com/2007/11/29/blog-update/">Blog update</a> first appeared on <a href="https://clevershark.com">The Clever Shark</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://clevershark.com/2007/11/29/blog-update/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Things I have learned recently&#8230;</title>
		<link>https://clevershark.com/2007/11/27/things-i-have-learned-recently/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=things-i-have-learned-recently</link>
					<comments>https://clevershark.com/2007/11/27/things-i-have-learned-recently/#respond</comments>
		
		<dc:creator><![CDATA[tony]]></dc:creator>
		<pubDate>Tue, 27 Nov 2007 16:23:55 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[adsense]]></category>
		<category><![CDATA[analytics]]></category>
		<category><![CDATA[Blog]]></category>
		<category><![CDATA[google]]></category>
		<category><![CDATA[site]]></category>
		<category><![CDATA[wordpress]]></category>
		<guid isPermaLink="false">http://clevershark.com/?p=1731</guid>

					<description><![CDATA[<p>I had a good look at my site yesterday and discovered a number of things! I should update WordPress more frequently. Until yesterday I was using a version that apparently enabled a third-party to add a bunch of spammy text at the end of pages (the usual &#8220;buy meds quick&#8221; crap), so that my Google &#8230; <a href="https://clevershark.com/2007/11/27/things-i-have-learned-recently/" class="more-link">Continue reading <span class="screen-reader-text">Things I have learned recently&#8230;</span></a></p>
<p>The post <a href="https://clevershark.com/2007/11/27/things-i-have-learned-recently/">Things I have learned recently…</a> first appeared on <a href="https://clevershark.com">The Clever Shark</a>.</p>]]></description>
										<content:encoded><![CDATA[<p>I had a good look at my site yesterday and discovered a number of things!</p>
<p><span id="more-1731"></span></p>
<ol>
<li>I should update WordPress more frequently. Until yesterday I was using a version that apparently enabled a third-party to add a bunch of spammy text at the end of pages (the usual &#8220;buy meds quick&#8221; crap), so that my Google ads were all for shady online pharmacies.</li>
<li>Google Adsense. I&#8217;m not impressed, I&#8217;m really not. You have the option of blacklisting target sites in the Adsense interface, but that blacklist doesn&#8217;t seem to be in use at all, as ads for blacklisted sites still appear even though those sites have been on my blacklist for months. And it&#8217;s going to be a while before the damage is undone, so I&#8217;m afraid it&#8217;s Amazon ads for now.</li>
<li>Another weak point for Adsense and Google in general &#8212; it&#8217;s supposed to be able to identify SEO cheats like the &#8220;spam attack&#8221; on my site, and those certainly matter when it comes to page rank. However Google AdWords clearly makes a mint selling ads to companies that make products that are chiefly advertized through spam (like shady meds). How motivated is Google to identify such blatant gaming of their AdSense system? Not a hell of a lot, apparently. If anything by ignoring factors it is itself aware of Google seems to be encouraging site hijacks of that nature by making them profitable.</li>
<li>What&#8217;s more, Adsense&#8217;s byzantine generated links make it difficult to identify the site a Google ad links to. It&#8217;s important if you want to add a site to the blacklist that doesn&#8217;t work. But don&#8217;t click on your own ads because this will lead to your being kicked out of the program without notice, explanation, or any form of appeal.</li>
<li>Google Analytics. I am impressed by the data it provides, but I learned that it doesn&#8217;t work if you insert it into your code after the &lt;/body&gt; tag. I really can&#8217;t blame anyone but myself for this goof. It&#8217;s a bit of an embarassing mistake to make, really&#8230; if you have WordPress, make sure you insert the script tags in the cshk_footer() function before closing the body tag! To paraphrase The Simpsons, &#8220;Don&#8217;t do what Tony Don&#8217;t does!&#8221;</li>
<li>Against all odds it appears I have some traffic! Yay!</li>
</ol><p>The post <a href="https://clevershark.com/2007/11/27/things-i-have-learned-recently/">Things I have learned recently…</a> first appeared on <a href="https://clevershark.com">The Clever Shark</a>.</p>]]></content:encoded>
					
					<wfw:commentRss>https://clevershark.com/2007/11/27/things-i-have-learned-recently/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
