<?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: Unique meta description and meta keyword tags in your WordPress themes</title>
	<atom:link href="http://www.malcolmcoles.co.uk/blog/unique-meta-description-and-meta-keywords-in-your-wordpress-themes/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.malcolmcoles.co.uk/blog/unique-meta-description-and-meta-keywords-in-your-wordpress-themes/</link>
	<description>Where to find Malcolm Coles, reviews, and tips on how to do things I couldn&#039;t do.</description>
	<lastBuildDate>Fri, 03 Feb 2012 20:15:12 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
	<item>
		<title>By: iceflatline</title>
		<link>http://www.malcolmcoles.co.uk/blog/unique-meta-description-and-meta-keywords-in-your-wordpress-themes/#comment-28964</link>
		<dc:creator>iceflatline</dc:creator>
		<pubDate>Sat, 09 Jul 2011 19:50:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.malcolmcoles.co.uk/blog/?p=23#comment-28964</guid>
		<description>Great post. It helped get me on the right path to a solution. Here&#039;s the code I ended up with to eliminate the duplicate meta tags Google was flagging when it crawled page 2, page 3, etc of my main index page. This code appends &quot;&#124; page 2&quot; etc to the keywords and description meta tags when navigating to older entries of main index page.

&lt;code&gt;
&lt;?php if(is_home()) { 
echo &#039;&lt;meta name=&quot;keywords&quot; content=&quot;YOUR KEYWORDS GO HERE&#039;;
if ( $paged &#039;;
}
?&gt; 

&lt;?php if(is_home()) { 
echo &#039;&lt;meta name=&quot;YOUR DESCRIPTION GOES HERE&#039;;
if ( $paged &#039;;
}
?&gt; 
&lt;/code&gt;</description>
		<content:encoded><![CDATA[<p>Great post. It helped get me on the right path to a solution. Here's the code I ended up with to eliminate the duplicate meta tags Google was flagging when it crawled page 2, page 3, etc of my main index page. This code appends "| page 2" etc to the keywords and description meta tags when navigating to older entries of main index page.</p>
<p><code><br />
&lt;?php if(is_home()) {<br />
echo &#039;&lt;meta name=&quot;keywords&quot; content=&quot;YOUR KEYWORDS GO HERE&#039;;<br />
if ( $paged ';<br />
}<br />
?&gt; </p>
<p>&lt;?php if(is_home()) {<br />
echo &#039;&lt;meta name=&quot;YOUR DESCRIPTION GOES HERE&#039;;<br />
if ( $paged ';<br />
}<br />
?&gt;<br />
</code></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Austin Real Estate Appraiser</title>
		<link>http://www.malcolmcoles.co.uk/blog/unique-meta-description-and-meta-keywords-in-your-wordpress-themes/#comment-12940</link>
		<dc:creator>Austin Real Estate Appraiser</dc:creator>
		<pubDate>Sat, 18 Sep 2010 05:14:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.malcolmcoles.co.uk/blog/?p=23#comment-12940</guid>
		<description>Am using your suggestions and can&#039;t wait to see if this changes (helps) my page rankings. It&#039;s a real pita to figure this stuff out, even with all of the plugins - lots of competing interests and strategies.</description>
		<content:encoded><![CDATA[<p>Am using your suggestions and can't wait to see if this changes (helps) my page rankings. It's a real pita to figure this stuff out, even with all of the plugins - lots of competing interests and strategies.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://www.malcolmcoles.co.uk/blog/unique-meta-description-and-meta-keywords-in-your-wordpress-themes/#comment-10906</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Fri, 23 Jul 2010 18:20:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.malcolmcoles.co.uk/blog/?p=23#comment-10906</guid>
		<description>still not displaying... please see my source code at my website.</description>
		<content:encoded><![CDATA[<p>still not displaying... please see my source code at my website.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://www.malcolmcoles.co.uk/blog/unique-meta-description-and-meta-keywords-in-your-wordpress-themes/#comment-10905</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Fri, 23 Jul 2010 18:19:29 +0000</pubDate>
		<guid isPermaLink="false">http://www.malcolmcoles.co.uk/blog/?p=23#comment-10905</guid>
		<description>** My last comment didnt display the whole code...and i removed all of the opening  tags

?php if( get_post_meta($post-&gt;ID, &quot;_seo_description&quot;, true) ): ?


meta name=&quot;description&quot; content=&quot;
?php echo get_custom_field(&#039;_seo_description&#039;); ?&quot; 

?php else: ?
?php endif; ?</description>
		<content:encoded><![CDATA[<p>** My last comment didnt display the whole code...and i removed all of the opening  tags</p>
<p>?php if( get_post_meta($post-&gt;ID, "_seo_description", true) ): ?</p>
<p>meta name="description" content="<br />
?php echo get_custom_field('_seo_description'); ?" </p>
<p>?php else: ?<br />
?php endif; ?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jonathan</title>
		<link>http://www.malcolmcoles.co.uk/blog/unique-meta-description-and-meta-keywords-in-your-wordpress-themes/#comment-10904</link>
		<dc:creator>Jonathan</dc:creator>
		<pubDate>Fri, 23 Jul 2010 18:16:59 +0000</pubDate>
		<guid isPermaLink="false">http://www.malcolmcoles.co.uk/blog/?p=23#comment-10904</guid>
		<description>I am having great difficulty...not with your code, but difficulty in combining your code with existing code.

THE ISSUE: I have a meta tag that defines specific post descriptions; however my homepage does not currentlty display the blog description because there isnt a home page per se, only an index holder for a custom home page display.

So, the so called homepage doesnt display a description, it displays the description of the most recent post.

I am hoping to use your code in combination to allow ONLY my home page to display the blog description, and then if its a post page to display the custom SEO description instead.

So, how can we combine your code with the code I have to make this work?

Here is my current code:

ID, &quot;_seo_description&quot;, true) ): ?&gt;
&lt;meta name=&quot;description&quot; content=&quot;&quot; /&gt;</description>
		<content:encoded><![CDATA[<p>I am having great difficulty...not with your code, but difficulty in combining your code with existing code.</p>
<p>THE ISSUE: I have a meta tag that defines specific post descriptions; however my homepage does not currentlty display the blog description because there isnt a home page per se, only an index holder for a custom home page display.</p>
<p>So, the so called homepage doesnt display a description, it displays the description of the most recent post.</p>
<p>I am hoping to use your code in combination to allow ONLY my home page to display the blog description, and then if its a post page to display the custom SEO description instead.</p>
<p>So, how can we combine your code with the code I have to make this work?</p>
<p>Here is my current code:</p>
<p>ID, "_seo_description", true) ): ?&gt;<br />
&lt;meta name=&quot;description&quot; content=&quot;" /&gt;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Malcolm Coles</title>
		<link>http://www.malcolmcoles.co.uk/blog/unique-meta-description-and-meta-keywords-in-your-wordpress-themes/#comment-9800</link>
		<dc:creator>Malcolm Coles</dc:creator>
		<pubDate>Mon, 10 May 2010 21:18:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.malcolmcoles.co.uk/blog/?p=23#comment-9800</guid>
		<description>Karl - I have to say I&#039;m not a PHP expert - took me a lot of trial and effort to get this to work!
But if you look at my code, the tag line is like this:
else {if(is_tag()) {echo &#039;-tag archive page for this blog&#039; . single_tag_title();}
whereas yours is
elseif(is_tag()) { echo &#039;-tag archive page for this Ely Herald&#039; . single_tag_title();}

The beginning is different - mine says:
else {if(is_
whereas yours is:
elseif(is_
So you&#039;re missing a space and also my { bracket has become a ( bracket in your code. At the very end I have a bunch of closing }}}}s - one for each if statement. You don&#039;t.

Maybe try changing it so these things are different?</description>
		<content:encoded><![CDATA[<p>Karl - I have to say I'm not a PHP expert - took me a lot of trial and effort to get this to work!<br />
But if you look at my code, the tag line is like this:<br />
else {if(is_tag()) {echo '-tag archive page for this blog' . single_tag_title();}<br />
whereas yours is<br />
elseif(is_tag()) { echo '-tag archive page for this Ely Herald' . single_tag_title();}</p>
<p>The beginning is different - mine says:<br />
else {if(is_<br />
whereas yours is:<br />
elseif(is_<br />
So you're missing a space and also my { bracket has become a ( bracket in your code. At the very end I have a bunch of closing }}}}s - one for each if statement. You don't.</p>
<p>Maybe try changing it so these things are different?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Karl Bedingfield</title>
		<link>http://www.malcolmcoles.co.uk/blog/unique-meta-description-and-meta-keywords-in-your-wordpress-themes/#comment-9798</link>
		<dc:creator>Karl Bedingfield</dc:creator>
		<pubDate>Mon, 10 May 2010 19:42:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.malcolmcoles.co.uk/blog/?p=23#comment-9798</guid>
		<description>Fantastic code!

Just a quick question. I am trying to get this to work with specific categories but my code just creates a white page. What might I b doing wrong?

Here&#039;s my code: http://paste-it.net/public/k1a1bcd/

Any pointers greatly appreciated.

Thanks,
Karl</description>
		<content:encoded><![CDATA[<p>Fantastic code!</p>
<p>Just a quick question. I am trying to get this to work with specific categories but my code just creates a white page. What might I b doing wrong?</p>
<p>Here's my code: <a href="http://paste-it.net/public/k1a1bcd/" rel="nofollow">http://paste-it.net/public/k1a1bcd/</a></p>
<p>Any pointers greatly appreciated.</p>
<p>Thanks,<br />
Karl</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://www.malcolmcoles.co.uk/blog/unique-meta-description-and-meta-keywords-in-your-wordpress-themes/#comment-8649</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Mon, 15 Mar 2010 21:37:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.malcolmcoles.co.uk/blog/?p=23#comment-8649</guid>
		<description>@Claire

Thanks :-)</description>
		<content:encoded><![CDATA[<p>@Claire</p>
<p>Thanks <img src='http://www.malcolmcoles.co.uk/blog/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Claire Walters</title>
		<link>http://www.malcolmcoles.co.uk/blog/unique-meta-description-and-meta-keywords-in-your-wordpress-themes/#comment-8636</link>
		<dc:creator>Claire Walters</dc:creator>
		<pubDate>Mon, 15 Mar 2010 13:30:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.malcolmcoles.co.uk/blog/?p=23#comment-8636</guid>
		<description>@scott I usually paste the code right under the title tag.  not sure if where int he header makes any difference</description>
		<content:encoded><![CDATA[<p>@scott I usually paste the code right under the title tag.  not sure if where int he header makes any difference</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Scott</title>
		<link>http://www.malcolmcoles.co.uk/blog/unique-meta-description-and-meta-keywords-in-your-wordpress-themes/#comment-8631</link>
		<dc:creator>Scott</dc:creator>
		<pubDate>Mon, 15 Mar 2010 08:45:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.malcolmcoles.co.uk/blog/?p=23#comment-8631</guid>
		<description>A silly question...

So you past the code into the header.php file in the  field, but is it best to be at the beginning of the field, or just before the closing  declaration?
Not certain as to whether there is any significant difference or not, but simply wanted to clarify.</description>
		<content:encoded><![CDATA[<p>A silly question...</p>
<p>So you past the code into the header.php file in the  field, but is it best to be at the beginning of the field, or just before the closing  declaration?<br />
Not certain as to whether there is any significant difference or not, but simply wanted to clarify.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

