<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Adding page numbers: How to avoid duplicate titles and meta descriptions in pages 2 and higher of Wordpress category and tag pages</title>
	<atom:link href="http://www.malcolmcoles.co.uk/blog/avoid-duplicate-meta-descriptions-in-pages-2-and-higher-of-the-wordpress-loop/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.malcolmcoles.co.uk/blog/avoid-duplicate-meta-descriptions-in-pages-2-and-higher-of-the-wordpress-loop/</link>
	<description>Where to find Malcolm Coles, reviews, and tips on how to do things I couldn't do.</description>
	<lastBuildDate>Fri, 19 Mar 2010 16:22:15 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Malcolm Coles</title>
		<link>http://www.malcolmcoles.co.uk/blog/avoid-duplicate-meta-descriptions-in-pages-2-and-higher-of-the-wordpress-loop/#comment-3393</link>
		<dc:creator>Malcolm Coles</dc:creator>
		<pubDate>Fri, 10 Jul 2009 09:01:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.malcolmcoles.co.uk/blog/?p=216#comment-3393</guid>
		<description>Um, no, sorry, it&#039;s always worked for me. Maybe Google is less good at Italian. Sorry.</description>
		<content:encoded><![CDATA[<p>Um, no, sorry, it's always worked for me. Maybe Google is less good at Italian. Sorry.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Come faccio per</title>
		<link>http://www.malcolmcoles.co.uk/blog/avoid-duplicate-meta-descriptions-in-pages-2-and-higher-of-the-wordpress-loop/#comment-3392</link>
		<dc:creator>Come faccio per</dc:creator>
		<pubDate>Fri, 10 Jul 2009 08:50:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.malcolmcoles.co.uk/blog/?p=216#comment-3392</guid>
		<description>Hi Malcom, I added the number of page (es: pagina y di x) into every metadescription for all the pages &gt;2 but Google still found them as duplicate o_o Any suggestion?it&#039;s drivin me crazy! thank u Valentina</description>
		<content:encoded><![CDATA[<p>Hi Malcom, I added the number of page (es: pagina y di x) into every metadescription for all the pages &gt;2 but Google still found them as duplicate o_o Any suggestion?it's drivin me crazy! thank u Valentina</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Malcolm Coles</title>
		<link>http://www.malcolmcoles.co.uk/blog/avoid-duplicate-meta-descriptions-in-pages-2-and-higher-of-the-wordpress-loop/#comment-3363</link>
		<dc:creator>Malcolm Coles</dc:creator>
		<pubDate>Thu, 09 Jul 2009 22:48:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.malcolmcoles.co.uk/blog/?p=216#comment-3363</guid>
		<description>A pleasure.

&quot;Thanks for the suggestion -- and, in fact, I&#039;ve decided to act on it.&quot;

I might put this at the top of each page ...!</description>
		<content:encoded><![CDATA[<p>A pleasure.</p>
<p>"Thanks for the suggestion -- and, in fact, I've decided to act on it."</p>
<p>I might put this at the top of each page ...!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andre</title>
		<link>http://www.malcolmcoles.co.uk/blog/avoid-duplicate-meta-descriptions-in-pages-2-and-higher-of-the-wordpress-loop/#comment-3362</link>
		<dc:creator>Andre</dc:creator>
		<pubDate>Thu, 09 Jul 2009 22:44:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.malcolmcoles.co.uk/blog/?p=216#comment-3362</guid>
		<description>Malcolm,
Thanks for the suggestion -- and, in fact, I&#039;ve decided to act on it. Getting those title tags and meta descriptions to work on pages 2, 3, etc. has been a time-consuming nightmare. 
As you said, pages such as the one you visited should be broken into two, but as two separate posts.
I&#039;ve already begun the updating process.
Thanks again.</description>
		<content:encoded><![CDATA[<p>Malcolm,<br />
Thanks for the suggestion -- and, in fact, I've decided to act on it. Getting those title tags and meta descriptions to work on pages 2, 3, etc. has been a time-consuming nightmare.<br />
As you said, pages such as the one you visited should be broken into two, but as two separate posts.<br />
I've already begun the updating process.<br />
Thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Malcolm Coles</title>
		<link>http://www.malcolmcoles.co.uk/blog/avoid-duplicate-meta-descriptions-in-pages-2-and-higher-of-the-wordpress-loop/#comment-3346</link>
		<dc:creator>Malcolm Coles</dc:creator>
		<pubDate>Thu, 09 Jul 2009 08:35:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.malcolmcoles.co.uk/blog/?p=216#comment-3346</guid>
		<description>As I don&#039;t use AIOSEO, I don&#039;t have a clue I&#039;m afraid. I&#039;d ask Christian on his site?

However, it&#039;s not just the meta description you have problems with - the title tag is the same on both pages as well.

I would avoid pagination from an SEO point of view (it&#039;s always problematic in practice, even if in theory it should be doable) and user experience point of view (I hate it! But also the links don&#039;t stand out. And page numbers give no reason to click - they don&#039;t tell you anything about what&#039;s there).

I can see why you need it on that article as it is so long. But why not chop it into two separate ones instead? One with your commentary, and one with a full list of new members. That way you can link between them with keyword-rich anchor text, rather than &quot;1&quot; and &quot;2&quot;. And no duplicate title / description problems.</description>
		<content:encoded><![CDATA[<p>As I don't use AIOSEO, I don't have a clue I'm afraid. I'd ask Christian on his site?</p>
<p>However, it's not just the meta description you have problems with - the title tag is the same on both pages as well.</p>
<p>I would avoid pagination from an SEO point of view (it's always problematic in practice, even if in theory it should be doable) and user experience point of view (I hate it! But also the links don't stand out. And page numbers give no reason to click - they don't tell you anything about what's there).</p>
<p>I can see why you need it on that article as it is so long. But why not chop it into two separate ones instead? One with your commentary, and one with a full list of new members. That way you can link between them with keyword-rich anchor text, rather than "1" and "2". And no duplicate title / description problems.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andre</title>
		<link>http://www.malcolmcoles.co.uk/blog/avoid-duplicate-meta-descriptions-in-pages-2-and-higher-of-the-wordpress-loop/#comment-3333</link>
		<dc:creator>andre</dc:creator>
		<pubDate>Wed, 08 Jul 2009 22:39:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.malcolmcoles.co.uk/blog/?p=216#comment-3333</guid>
		<description>Malcolm,
Thanks for the quick response.
I tried using Christian Schenk&#039;s code for meta descriptions but I can&#039;t get the following into the functions.php page:

function paged_meta_description_filter($content) {
  global $cpage;
  if ($cpage &lt; 1) return $content;
  return $content.&#039; - &#039;.__(&#039;comment page&#039;).&#039; &#039;.$cpage;
}

It simply won&#039;t accept it when I save the file. (The addition is deleted.)

The &quot;if function exists&quot; segment is fine. I can paste it there. But the code above is always rejected. Any idea where else in the theme&#039;s php pages I could place it?</description>
		<content:encoded><![CDATA[<p>Malcolm,<br />
Thanks for the quick response.<br />
I tried using Christian Schenk's code for meta descriptions but I can't get the following into the functions.php page:</p>
<p>function paged_meta_description_filter($content) {<br />
  global $cpage;<br />
  if ($cpage &lt; 1) return $content;<br />
  return $content.' - '.__('comment page').' '.$cpage;<br />
}</p>
<p>It simply won't accept it when I save the file. (The addition is deleted.)</p>
<p>The "if function exists" segment is fine. I can paste it there. But the code above is always rejected. Any idea where else in the theme's php pages I could place it?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Malcolm Coles</title>
		<link>http://www.malcolmcoles.co.uk/blog/avoid-duplicate-meta-descriptions-in-pages-2-and-higher-of-the-wordpress-loop/#comment-3332</link>
		<dc:creator>Malcolm Coles</dc:creator>
		<pubDate>Wed, 08 Jul 2009 22:02:37 +0000</pubDate>
		<guid isPermaLink="false">http://www.malcolmcoles.co.uk/blog/?p=216#comment-3332</guid>
		<description>Try seeing what Christian did here: http://www.christianschenk.org/blog/paginated-comments-copyblogger-theme/</description>
		<content:encoded><![CDATA[<p>Try seeing what Christian did here: <a href="http://www.christianschenk.org/blog/paginated-comments-copyblogger-theme/" rel="nofollow">http://www.christianschenk.org/blog/paginated-comments-copyblogger-theme/</a></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: andre</title>
		<link>http://www.malcolmcoles.co.uk/blog/avoid-duplicate-meta-descriptions-in-pages-2-and-higher-of-the-wordpress-loop/#comment-3330</link>
		<dc:creator>andre</dc:creator>
		<pubDate>Wed, 08 Jul 2009 21:46:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.malcolmcoles.co.uk/blog/?p=216#comment-3330</guid>
		<description>Hello,

I read your piece with interest, as I&#039;ve been having some serious issues with duplicate meta descriptions.

I use Wordpress 2.8, and their &lt;!--nextpage--&gt; code to break up long posts into two or more pages.
I&#039;ve just begun using the &quot;All in One SEO&quot; plugin, which auto-generates the description tags using the first 20 or so words of each post.

The problem is that the generated meta descriptions for **all** pages are those found on the **first** page of each post.

See:

http://www.altfg.com/blog/awards/oscar-2009-academy-invites-new-members/

http://www.altfg.com/blog/awards/oscar-2009-academy-invites-new-members/2/

(I&#039;ve tried two or three different &quot;meta descritpion&quot; or &quot;SEO&quot; plugins, and they&#039;ve all come up with the same duplicate meta descriptions.)

I was wondering if someone here can suggest a code &quot;addition&quot; to prevent those duplicate meta descriptions; one that I could insert either into my blog&#039;s theme&#039;s coding, or into the &quot;All in One SEO&quot; code itself, which is the following for the meta descriptions for individual posts (that I could see):

if (is_single() &#124;&#124; is_page() &#124;&#124; $this-&gt;is_static_posts_page()) {
            if ($this-&gt;is_static_front_page()) {
$description = trim(stripcslashes($this-&gt;internationalize(get_option(&#039;aiosp_home_description&#039;))));
            } else {
            $description = $this-&gt;get_post_description($post);
            }

AND/OR (further down below the plugin&#039;s code)

function get_post_description($post) {
    $description = trim(stripcslashes($this-&gt;internationalize(get_post_meta($post-&gt;ID, &quot;description&quot;, true))));
if (!$description) {
$description = $this-&gt;trim_excerpt_without_filters_full_length($this-&gt;internationalize($post-&gt;post_excerpt));
if (!$description &amp;&amp; get_option(&quot;aiosp_generate_descriptions&quot;)) {
$description = $this-&gt;trim_excerpt_without_filters($this-&gt;internationalize($post-&gt;post_content));
}

I should add that I&#039;ve already posted queries in the Wordpress, Google, and All in One SEO forums, but so far (it&#039;s been several days) I haven&#039;t found a solution to this issue. Perhaps someone here can help me out.

Any assistance would be much appreciated.</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>I read your piece with interest, as I've been having some serious issues with duplicate meta descriptions.</p>
<p>I use Wordpress 2.8, and their <!--nextpage--> code to break up long posts into two or more pages.<br />
I've just begun using the "All in One SEO" plugin, which auto-generates the description tags using the first 20 or so words of each post.</p>
<p>The problem is that the generated meta descriptions for **all** pages are those found on the **first** page of each post.</p>
<p>See:</p>
<p><a href="http://www.altfg.com/blog/awards/oscar-2009-academy-invites-new-members/" rel="nofollow">http://www.altfg.com/blog/awards/oscar-2009-academy-invites-new-members/</a></p>
<p><a href="http://www.altfg.com/blog/awards/oscar-2009-academy-invites-new-members/2/" rel="nofollow">http://www.altfg.com/blog/awards/oscar-2009-academy-invites-new-members/2/</a></p>
<p>(I've tried two or three different "meta descritpion" or "SEO" plugins, and they've all come up with the same duplicate meta descriptions.)</p>
<p>I was wondering if someone here can suggest a code "addition" to prevent those duplicate meta descriptions; one that I could insert either into my blog's theme's coding, or into the "All in One SEO" code itself, which is the following for the meta descriptions for individual posts (that I could see):</p>
<p>if (is_single() || is_page() || $this-&gt;is_static_posts_page()) {<br />
            if ($this-&gt;is_static_front_page()) {<br />
$description = trim(stripcslashes($this-&gt;internationalize(get_option('aiosp_home_description'))));<br />
            } else {<br />
            $description = $this-&gt;get_post_description($post);<br />
            }</p>
<p>AND/OR (further down below the plugin's code)</p>
<p>function get_post_description($post) {<br />
    $description = trim(stripcslashes($this-&gt;internationalize(get_post_meta($post-&gt;ID, "description", true))));<br />
if (!$description) {<br />
$description = $this-&gt;trim_excerpt_without_filters_full_length($this-&gt;internationalize($post-&gt;post_excerpt));<br />
if (!$description &amp;&amp; get_option("aiosp_generate_descriptions")) {<br />
$description = $this-&gt;trim_excerpt_without_filters($this-&gt;internationalize($post-&gt;post_content));<br />
}</p>
<p>I should add that I've already posted queries in the Wordpress, Google, and All in One SEO forums, but so far (it's been several days) I haven't found a solution to this issue. Perhaps someone here can help me out.</p>
<p>Any assistance would be much appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Malcolm Coles</title>
		<link>http://www.malcolmcoles.co.uk/blog/avoid-duplicate-meta-descriptions-in-pages-2-and-higher-of-the-wordpress-loop/#comment-3311</link>
		<dc:creator>Malcolm Coles</dc:creator>
		<pubDate>Wed, 08 Jul 2009 09:23:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.malcolmcoles.co.uk/blog/?p=216#comment-3311</guid>
		<description>Only by hacking the headspace code ...</description>
		<content:encoded><![CDATA[<p>Only by hacking the headspace code ...</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Come faccio per</title>
		<link>http://www.malcolmcoles.co.uk/blog/avoid-duplicate-meta-descriptions-in-pages-2-and-higher-of-the-wordpress-loop/#comment-3309</link>
		<dc:creator>Come faccio per</dc:creator>
		<pubDate>Wed, 08 Jul 2009 09:17:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.malcolmcoles.co.uk/blog/?p=216#comment-3309</guid>
		<description>Dearest, i have a problem... For metadescription I use the plugin headspace, but i&#039;m havin issues since all homepage pages &gt; 2 have the same metadescription( categories and tags too).
Is there anway i can solve this while using HeadSpace?</description>
		<content:encoded><![CDATA[<p>Dearest, i have a problem... For metadescription I use the plugin headspace, but i'm havin issues since all homepage pages &gt; 2 have the same metadescription( categories and tags too).<br />
Is there anway i can solve this while using HeadSpace?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
