<?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>RLM &#187; SEO</title>
	<atom:link href="http://www.rlmseo.com/blog/category/seo/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.rlmseo.com</link>
	<description></description>
	<lastBuildDate>Tue, 31 Jan 2012 03:37:47 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Nofollow WordPress Tag Cloud</title>
		<link>http://www.rlmseo.com/blog/nofollow-wordpress-tag-cloud/</link>
		<comments>http://www.rlmseo.com/blog/nofollow-wordpress-tag-cloud/#comments</comments>
		<pubDate>Sat, 28 Aug 2010 01:03:54 +0000</pubDate>
		<dc:creator>jcrens8392</dc:creator>
				<category><![CDATA[On-Site SEO]]></category>
		<category><![CDATA[SEO]]></category>
		<category><![CDATA[nofollow]]></category>
		<category><![CDATA[tag cloud]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.rlmseo.com/blog/?p=1108</guid>
		<description><![CDATA[Have you added the rel=&#8221;nofollow&#8221; attribute to your WordPress tag cloud? Here&#8217;s a YouTube video from Matt Cutts talking about the need to add the attribute to tag clouds, where he explains that passing PageRank through the tag cloud links is probably not the most efficient way [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://www.rlmseo.com/blog/wp-content/uploads/2010/08/tag-cloud.png" rel="wp-prettyPhoto[1108]"><img class="size-full wp-image-1109  alignnone" title="Tag Cloud" src="http://www.rlmseo.com/blog/wp-content/uploads/2010/08/tag-cloud.png" alt="Tag Cloud" width="590" height="250" /></a></p>
<p>Have you added the rel=&#8221;nofollow&#8221; attribute to your WordPress tag cloud? Here&#8217;s a <a title="Check out the video" href="http://www.youtube.com/watch?v=bYPX_ZmhLqg&amp;feature=youtube_gdata">YouTube video from Matt Cutts</a> talking about the need to add the attribute to tag clouds, where he explains that passing PageRank through the tag cloud links is probably not the most efficient way to do things.</p>
<p>Unfortunately, the WordPress tag cloud is generated via a function call to <a title="Function reference for wp_tag_cloud" href="http://codex.wordpress.org/Function_Reference/wp_tag_cloud">wp_tag_cloud</a> and, as a result, you cannot simply add the rel=&#8221;nofollow&#8221; attribute like you would a traditional link.</p>
<p>So, I did a bit of searching and stumbled across a <a title="Visit the plugin page" href="http://smartblogtips.com/how-to-add-nofollow-attribute-to-tag-cloud-in-wordpress/">nofollow tag plugin</a> at SmartBlogTips.com that will take care of this for you.</p>
<p>That said, I&#8217;m not big on adding plugins if it&#8217;s just a few lines of code. So, for those of you interested in doing this without the plugin, you can add the following lines of code to your functions.php file:</p>
<pre>function add_nofollow_tag($sLink) {
    return str_replace('&lt;a href=', '&lt;a rel=&quot;nofollow&quot; href=', $sLink);
}
add_filter('wp_tag_cloud', 'add_nofollow_tag');</pre>
<p>That&#8217;s it. Your WordPress tag cloud should now use the rel=&#8221;nofollow&#8221; attribute.</p>
<p>Thanks SmartBlogTips.com for the <a href="http://smartblogtips.com/how-to-add-nofollow-attribute-to-tag-cloud-in-wordpress/">simple plugin</a>!</p>
[Image Source: <a title="Create a tag cloud" href="http://www.wordle.net/show/wrdl/2343151/RLMSEO.com">Wordle.com</a>] </p>
]]></content:encoded>
			<wfw:commentRss>http://www.rlmseo.com/blog/nofollow-wordpress-tag-cloud/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Get Your Heading Tag Out of Your&#8230;</title>
		<link>http://www.rlmseo.com/blog/wordpress-seo-heading-tags/</link>
		<comments>http://www.rlmseo.com/blog/wordpress-seo-heading-tags/#comments</comments>
		<pubDate>Sun, 20 Jan 2008 01:13:44 +0000</pubDate>
		<dc:creator>jcrens8392</dc:creator>
				<category><![CDATA[SEO]]></category>
		<category><![CDATA[heading tags]]></category>
		<category><![CDATA[outline]]></category>

		<guid isPermaLink="false">http://www.rlmseo.com/wordpress-seo-heading-tags/</guid>
		<description><![CDATA[Ideally, and for good SEO, your H1 tag will be the heading that tells a search engine what a given page is about; unfortunately, it's jacked up in Wordpress by default, so let's fix it.]]></description>
			<content:encoded><![CDATA[<p>Ideally, your most important heading for each page should be wrapped in an h1 tag, the next most important headings in h2, and so on. WordPress does a great job at this out of the box for the home page, wrapping your blog name with an h1 tag and all your individual post titles on the homepage in an h2 tag. Unfortunately, it doesn&#8217;t do a good job with single post pages.</p>
<p>By default, single posts have the same outline format as the home page&#8230;blog title wrapped in h1 and post title wrapped in h2. But don&#8217;t you want your post title, at least on the individual post pages to be seen as the most important heading on that page? Of course you do&#8230;here&#8217;s how&#8230;</p>
<p>WordPress homepage default outline setup (good)&#8230;</p>
<div id="attachment_1379" class="wp-caption aligncenter" style="width: 575px"><a href="http://www.rlmseo.com/wp-content/uploads/2008/01/mma-document-outline.jpg" rel="wp-prettyPhoto[1195]"><img src="http://www.rlmseo.com/wp-content/uploads/2008/01/mma-document-outline.jpg" alt="WordPress Homepage Heading Tag Structure" title="WordPress Homepage Heading Tag Structure" width="565" height="505" class="size-full wp-image-1379" /></a><p class="wp-caption-text">WordPress Homepage Heading Tag Structure is Good</p></div>
<p>And the WordPress default single post outline setup (bad)&#8230;</p>
<div id="attachment_1380" class="wp-caption aligncenter" style="width: 528px"><a href="http://www.rlmseo.com/wp-content/uploads/2008/01/mma-document-outline1.jpg" rel="wp-prettyPhoto[1195]"><img src="http://www.rlmseo.com/wp-content/uploads/2008/01/mma-document-outline1.jpg" alt="WordPress Single Post Heading Structure" title="WordPress Single Post Heading Structure" width="518" height="379" class="size-full wp-image-1380" /></a><p class="wp-caption-text">Default heading structure on single posts is bad</p></div>
<h2>Solution &#8211; Remove the h1 from the blog title and Put Post Title Inside h1 on Single Posts &amp; Pages:</h2>
<p>Find the following code in your single.php file:</p>
<pre>&lt;div class=&quot;post&quot; id=&quot;post-&lt;?php the_ID(); ?&gt;&quot;&gt;
&lt;h2&gt;&lt;a href=&quot;&lt;?php echo get_permalink() ?&gt;&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link: &lt;?php the_title_attribute(); ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h2&gt;</pre>
<p>&#8230;and change the h2 tags to h1 tags like so:</p>
<pre>&lt;div class=&quot;post&quot; id=&quot;post-&lt;?php the_ID(); ?&gt;&quot;&gt;
&lt;h1&gt;&lt;a href=&quot;&lt;?php echo get_permalink() ?&gt;&quot; rel=&quot;bookmark&quot; title=&quot;Permanent Link: &lt;?php the_title_attribute(); ?&gt;&quot;&gt;&lt;?php the_title(); ?&gt;&lt;/a&gt;&lt;/h1&gt;</pre>
<h2>Step 2 &#8211; Remove h1 Tag from Blog Title on Single Posts &amp; Pages:</h2>
<p>Thanks to reader Brian Brandt from <a href="http://wordpress-themes.dk/" rel="nofollow">WordPress-Themes.dk</a> for pointing out the fact that this post originally did not recommend removing the h1 tag from the blog title on single posts &amp; pages, leaving 2 h1 tags on each single post/page. Here are the steps to remove that h1 tag on any page besides the home page.</p>
<p>Open up header.php and find the following line:</p>
<pre>&lt;h1&gt;&lt;a href=&quot;&lt;?php echo get_option(&#039;home&#039;); ?&gt;&quot;&gt;&lt;?php bloginfo(&#039;name&#039;); ?&gt;&lt;/a&gt;&lt;/h1&gt;</pre>
<p>Then change it to this:</p>
<pre>&lt;?php if(is_home()) : ?&gt;
    &lt;h1&gt;&lt;a href=&quot;&lt;?php echo get_option(&#039;home&#039;); ?&gt;&quot;&gt;&lt;?php bloginfo(&#039;name&#039;); ?&gt;&lt;/a&gt;&lt;/h1&gt;
&lt;?php else : ?&gt;
    &lt;span id=&quot;blogTitle&quot;&gt;
        &lt;a href=&quot;&lt;?php echo get_option(&#039;home&#039;); ?&gt;&quot;&gt;&lt;?php bloginfo(&#039;name&#039;); ?&gt;&lt;/a&gt;
    &lt;/span&gt;
&lt;?php endif; ?&gt;</pre>
<h2>Step 3 &#8211; Style the New #blogTitle Id and New h1 Tags</h2>
<p>Now open up your stylesheet and add this code&#8230;you may need to tweak this a bit depending on what theme you&#8217;re using and whether you&#8217;ve customized it (this article is based on the default theme that ships with WordPress).</p>
<pre>span#blogTitle {
    display: block;
    font-size: 4em;
    text-align: center;
    padding-top: 70px;
    font-weight: bold;
    font-family: 'Trebuchet MS','Lucida Grande',Verdana,Arial,Sans-Serif;
}
span#blogTitle a {
    color: white;
    text-decoration: none;
}
span#blogTitle a:hover {
    text-decoration: none;
}

.post h1 {
	color: #333333;
	text-decoration: none;
	font-size: 1.6em;
	text-align: left;
	padding-top: 0;
}</pre>
<h2>Explanation of Changes</h2>
<p>Basically, what we&#8217;ve done in Step 2 above is we took the original code that displays the blog title and wrapped it with an if statement. The first part of that if-statement is saying, &#8220;if the currently displayed page is the home page, then show the blog title wrapped in h1 tags, otherwise (if the current page is NOT the home page, display the blog title, but wrap it in the <span id="blogTitle"></span> tags.</p>
<p>If we left it at that, we&#8217;d lose the styling of the blog title on anything but the home page and the styles of our post/page titles on single posts and pages wouldn&#8217;t be correct since, because we changed it from h2 to h1, we&#8217;d end up with the post and page titles looking the same as our blog title on the home page&#8230;instead we want those titles to be styled the same as the h2 post/page titles on the home page.</p>
<p>So we first need to style that blogTitle Id we assigned to the <span></span> element. The way you style this will vary depending on which theme you&#8217;re currently using and how that theme is styled. The sample code in Step 3 is specifically for the default WordPress theme, but it&#8217;ll give you a starting point if you use a different theme.</p>
<p>Second, we create a new style for .post h1 as seen in step 3 above. Again, the styles shown above are geared toward the default WordPress theme&#8230;if you use another theme, you&#8217;ll need to tweak those styles a bit.</p>
<p>Now your outline looks more like it should and search engines will be better equipped to understand what all of your posts are about. And finally&#8230;</p>
<h2>New Document Outline</h2>
<p>One thing you&#8217;ll notice in the following image is that I&#8217;m missing an h2 tag on this page. For most sites, my article headings are h2, since we&#8217;re looking at a post with only one paragraph and no headings, we&#8217;re missing h2 tags.</p>
<p>Another option you may want to consider is removing the h3 tags you see below attached to &#8220;One Response&#8230;&#8221; and &#8220;Leave a Reply&#8221;, because, in my opinion, they really don&#8217;t do anything.</p>
<p>Nonetheless, for most situations, as long as your h1 tags are in order, the others aren&#8217;t quite as important.</p>
<div id="attachment_1381" class="wp-caption aligncenter" style="width: 462px"><a href="http://www.rlmseo.com/wp-content/uploads/2008/01/wordpress-document-outline.png" rel="wp-prettyPhoto[1195]"><img src="http://www.rlmseo.com/wp-content/uploads/2008/01/wordpress-document-outline.png" alt="Fixed the WordPress single post heading tag structure" title="Fixed the WordPress single post heading tag structure" width="452" height="342" class="size-full wp-image-1381" /></a><p class="wp-caption-text">Now the single post heading tag structure is a bit better</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.rlmseo.com/blog/wordpress-seo-heading-tags/feed/</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

