<?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>Pressed Words &#187; Paged comments</title>
	<atom:link href="http://pressedwords.com/tag/paged-comments/feed/" rel="self" type="application/rss+xml" />
	<link>http://pressedwords.com</link>
	<description>News and commentary about all things WordPress</description>
	<lastBuildDate>Thu, 11 Jun 2009 03:54:22 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1</generator>
	<item>
		<title>Paged Comments and the SEO Problem: A Solution</title>
		<link>http://pressedwords.com/solving-wordpress-seo-paged-comments-problem/</link>
		<comments>http://pressedwords.com/solving-wordpress-seo-paged-comments-problem/#comments</comments>
		<pubDate>Mon, 15 Dec 2008 20:26:03 +0000</pubDate>
		<dc:creator><![CDATA[Austin Matzko]]></dc:creator>
				<category><![CDATA[Themes]]></category>
		<category><![CDATA[Paged comments]]></category>
		<category><![CDATA[SEO]]></category>

		<guid isPermaLink="false">http://pressedwords.com/?p=163</guid>
		<description><![CDATA[The paged comments feature new in WordPress 2.7 is handy for reducing page size, but it introduces the search engine optimization (SEO) problem of putting the same content on different permalinks, as some have pointed out. That&#8217;s because the complete post would appear at all of these permalinks: http://example.com/my-post-permalink/ http://example.com/my-post-permalink/comment-page-1/ http://example.com/my-post-permalink/comment-page-2/ My solution in this [&#8230;]]]></description>
				<content:encoded><![CDATA[<p>The paged comments feature new in WordPress 2.7 is handy for reducing page size, but it introduces the search engine optimization (SEO) problem of putting the same content on different permalinks, as <a href="http://comox.textdrive.com/pipermail/wp-hackers/2008-December/023189.html">some have pointed out</a>. That&#8217;s because the complete post would appear at all of these permalinks:</p>
<p><code>http://example.com/my-post-permalink/</code><br />
<code>http://example.com/my-post-permalink/comment-page-1/</code><br />
<code>http://example.com/my-post-permalink/comment-page-2/</code></p>
<p>My solution in this short plugin is to have all but the main permalink show an excerpt of the post, with a link back to the permalink page.</p>
<pre>
&lt;?php

/* 
 Plugin Name: SEO for Paged Comments
 Version: 1.1
 Description: Reduce SEO problems when using WordPress&#039;s paged comments.
 Author: Austin Matzko
 Author URI: http://www.pressedwords.com
 */

function seo_paged_comments_content_filter($t = &#039;&#039;) {
	if ( function_exists(&#039;get_query_var&#039;) ) {
		$cpage = intval(get_query_var(&#039;cpage&#039;));
		if ( ! empty( $cpage ) ) {
			remove_filter(&#039;the_content&#039;, &#039;seo_paged_comments_content_filter&#039;);
			$t = get_the_excerpt();
			$t .= sprintf(&#039;&lt;p&gt;&lt;a href="%1$s"&gt;%2$s&lt;/a&gt;&lt;/p&gt;&#039;, get_permalink(), get_the_title());
		}
	}
	return $t;
}

add_filter(&#039;the_content&#039;, &#039;seo_paged_comments_content_filter&#039;);
</pre>
<p><strong>Download:</strong><br />
<a href='http://downloads.wordpress.org/plugin/seo-for-paged-comments.zip'>seo-for-paged-comments.zip</a></p>
<p>[<strong>Updated</strong> January 30, 2009]</p>
]]></content:encoded>
			<wfw:commentRss>http://pressedwords.com/solving-wordpress-seo-paged-comments-problem/feed/</wfw:commentRss>
		<slash:comments>89</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using memcached
Database Caching 3/5 queries in 0.001 seconds using memcached
Object Caching 233/236 objects using memcached

 Served from: pressedwords.com @ 2026-04-11 11:32:59 by W3 Total Cache -->