<?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>The Vince Files &#187; nofollow</title>
	<atom:link href="http://www.thevincefiles.net/tag/nofollow/feed" rel="self" type="application/rss+xml" />
	<link>http://www.thevincefiles.net</link>
	<description>My rants, ramblings, and reflections</description>
	<lastBuildDate>Sun, 28 Jun 2009 22:37:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to add rel=&#8221;nofollow&#8221; to WordPress blogroll links</title>
		<link>http://www.thevincefiles.net/2008/01/22/how-to-add-relnofollow-to-wordpress-blogroll-links</link>
		<comments>http://www.thevincefiles.net/2008/01/22/how-to-add-relnofollow-to-wordpress-blogroll-links#comments</comments>
		<pubDate>Wed, 23 Jan 2008 07:49:38 +0000</pubDate>
		<dc:creator>Vince</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Google]]></category>
		<category><![CDATA[nofollow]]></category>
		<category><![CDATA[PageRank]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.thevincefiles.net/index.php/2008/01/22/how-to-add-relnofollow-to-wordpress-blogroll-links/</guid>
		<description><![CDATA[I was playing around with WordPress trying to find out how to open links in new windows (i.e. using target=&#8221;_blank&#8221;).  I&#8217;m still getting to used to WordPress&#8217; templating system and familiarizing myself with the include structure.
Then I found out that Google and other search engines may lower your PageRank if they find out you [...]<p>a</p>
]]></description>
			<content:encoded><![CDATA[<p>I was playing around with WordPress trying to find out how to open links in new windows (i.e. using target=&#8221;_blank&#8221;).  I&#8217;m still getting to used to WordPress&#8217; templating system and familiarizing myself with the include structure.</p>
<p>Then I found out that Google and other search engines may lower your <a href="http://www.google.com/technology/" target="_blank">PageRank</a> if they find out you link to other sites in a way to boost page rank which could negatively affect your ranking in search results.  So I decided that some links that show on my pages (e.g. BlogRoll links) should have a rel=&#8221;<a href="http://en.wikipedia.org/wiki/Nofollow" target="_blank">nofollow</a>&#8221; attribute.</p>
<p><span id="more-7"></span>I looked around and found this <a href="http://www.mydigitallife.info/2007/11/05/add-nofollow-relationship-to-wordpress-blogroll-to-increase-pagerank/" target="_blank">blog entry</a> which led me to the correct template file but suggests changing</p>
<p><code>$output .= '&lt;a href="' . $the_link . '"' . $rel . $title . $target. '&gt;';</code><br />
to<br />
<code>$output .= '&lt;a href="' . $the_link . '"' . $rel . $title . $target. ' rel="nofollow"&gt;';</code></p>
<p>This seems a bit hack-ish and not so elegant since he doesn&#8217;t append rel=&#8221;nofollow&#8221; to the $rel variable.  His $rel variable should be set up like this:</p>
<p><code>$rel = $bookmark-&gt;link_rel;<br />
if ( '' != $rel ){<br />
$rel = ' rel="' . $rel . ' nofollow"';<br />
}else{<br />
$rel = 'rel="nofollow"';<br />
}</code></p>
<p>Anyways, I looked some more and found this <a href="http://www.justin-cook.com/wp/2007/11/21/how-to-add-nofollow-to-wordpress-blogroll-links/" target="_blank">blog entry</a> which suggests editing the template responsible for editing the blogroll links. This method adds another checkbox called &#8220;nofollow&#8221; to the list of other valid values for the rel attribute.  This is the preferred approach since it allows me to be more selective about which links have &#8220;nofollow&#8221; and which do not.</p>
<p>a</p>
]]></content:encoded>
			<wfw:commentRss>http://www.thevincefiles.net/2008/01/22/how-to-add-relnofollow-to-wordpress-blogroll-links/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
