<?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:itunes="http://www.itunes.com/dtds/podcast-1.0.dtd"
	xmlns:media="http://search.yahoo.com/mrss/"
>

<channel>
	<title>Natural Search Blog &#187; tagging and Ultimate-Tag-Warrior</title>
	<atom:link href="http://www.naturalsearchblog.com/tag/tagging+ultimate-tag-warrior/rss2" rel="self" type="application/rss+xml" />
	<link>http://www.naturalsearchblog.com</link>
	<description>Thought leaders in search engine optimization weigh in with the latest SEO news and commentary</description>
	<pubDate>Thu, 09 Oct 2008 19:12:37 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
	<language>en</language>
		<!-- podcast_generator="podPress/8.8" -->
		<copyright>&#xA9; </copyright>
		<managingEditor>chris@netconcepts.com ()</managingEditor>
		<webMaster>chris@netconcepts.com()</webMaster>
		<category></category>
		<itunes:keywords></itunes:keywords>
		<itunes:subtitle></itunes:subtitle>
		<itunes:summary>Thought leaders in search engine optimization weigh in with the latest SEO news and commentary</itunes:summary>
		<itunes:author></itunes:author>
		<itunes:category text="Society &amp; Culture"/>
		<itunes:owner>
			<itunes:name></itunes:name>
			<itunes:email>chris@netconcepts.com</itunes:email>
		</itunes:owner>
		<itunes:block>No</itunes:block>
		<itunes:explicit>no</itunes:explicit>
		<itunes:image href="http://www.naturalsearchblog.com/wp-content/plugins/podpress/images/powered_by_podpress_large.jpg" />
		<image>
			<url>http://www.naturalsearchblog.com/wp-content/plugins/podpress/images/powered_by_podpress.jpg</url>
			<title>Natural Search Blog</title>
			<link>http://www.naturalsearchblog.com</link>
			<width>144</width>
			<height>144</height>
		</image>
		<item>
		<title>Getting 404 errors with Ultimate Tag Warrior?</title>
		<link>http://www.naturalsearchblog.com/archives/2007/01/20/getting-404-errors-on-ultimate-tag-warrior/</link>
		<comments>http://www.naturalsearchblog.com/archives/2007/01/20/getting-404-errors-on-ultimate-tag-warrior/#comments</comments>
		<pubDate>Sat, 20 Jan 2007 21:39:48 +0000</pubDate>
		<dc:creator>Stephan Spencer</dc:creator>
		
		<category><![CDATA[Blog Optimization]]></category>

		<category><![CDATA[tagging]]></category>

		<category><![CDATA[Ultimate-Tag-Warrior]]></category>

		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.naturalsearchblog.com/archives/2007/01/20/getting-404-errors-on-ultimate-tag-warrior/</guid>
		<description><![CDATA[If you&#8217;re running WordPress and you care about SEO, then you&#8217;re probably running the Ultimate Tag Warrior plugin too. If you don&#8217;t know what I&#8217;m talking about, then read my blog SEO tip on tagging.
There&#8217;s been a long-standing bug in WordPress 2.X, ever since WordPress switched to internal rewrites instead of external ones within .htaccess. [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re running WordPress and you care about SEO, then you&#8217;re probably running the <a href="http://www.neato.co.nz/ultimate-tag-warrior/">Ultimate Tag Warrior</a> plugin too. If you don&#8217;t know what I&#8217;m talking about, then read my <a href="http://www.stephanspencer.com/archives/2006/01/16/blog-seo-tip-3-tagging/">blog SEO tip on tagging</a>.</p>
<p>There&#8217;s been a long-standing bug in WordPress 2.X, ever since WordPress switched to internal rewrites instead of external ones within .htaccess. The bug is that UltimateTagWarrior displays 404 errors (File Not Found) on tag pages when you have rewriting of local tag URLs turned on (in Options > Tags in the WordPress admin). The bug usually only manifests itself when you are using custom permalinks (i.e. if you&#8217;ve selected &#8220;Custom&#8221; from the Permalink Options in the WordPress admin). </p>
<p>Well I&#8217;ve got good news! I&#8217;ve figured out the problem!<br />
<span id="more-193"></span><br />
Turns out when you have a Custom Permalink structure like /%postname%/ defined, then one of WordPress&#8217; rewrite rules matches against /tag/whatever before the rewrite rules (which are at the end of the list) get a chance to be invoked. Here&#8217;s the offending rewrite rule that&#8217;s doing the hijacking:</p>
<p>[[^/]+/([^/]+)/?$] => index.php?attachment=$1</p>
<p>That rewrite rule is a bit too greedy!</p>
<p>I used the <a href="http://www.dagondesign.com/articles/wordpress-internal-rewrite-viewer-plugin/">Internal Rewrite Viewer</a> plugin to figure out what was going on. This Ultimate Tag Warrior bug been a source of frustration for months. Man, it was tricky to track this one down. It&#8217;s good to finally know what the issue is &#8212; and how it can be fixed!</p>
<p>Other plugins like WP-Print and WP-Email aren&#8217;t affected by this because their rules are the very top of the array instead of the bottom. </p>
<p>I&#8217;ve alerted Christine, the author of UTW. Hopefully she will come out with an updated version of the plugin soon to put the rules at the top of the array. If not, I&#8217;ll will fix the plugin myself and publish the hack here.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.naturalsearchblog.com/archives/2007/01/20/getting-404-errors-on-ultimate-tag-warrior/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Tagging WordPress Pages with Ultimate Tag Warrior</title>
		<link>http://www.naturalsearchblog.com/archives/2006/12/13/tagging-wordpress-pages-with-ultimate-tag-warrior/</link>
		<comments>http://www.naturalsearchblog.com/archives/2006/12/13/tagging-wordpress-pages-with-ultimate-tag-warrior/#comments</comments>
		<pubDate>Thu, 14 Dec 2006 03:35:19 +0000</pubDate>
		<dc:creator>Stephan Spencer</dc:creator>
		
		<category><![CDATA[Blog Optimization]]></category>

		<category><![CDATA[tagging]]></category>

		<category><![CDATA[Ultimate-Tag-Warrior]]></category>

		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://www.naturalsearchblog.com/archives/2006/12/13/tagging-wordpress-pages-with-ultimate-tag-warrior/</guid>
		<description><![CDATA[I&#8217;ve blogged before about the SEO benefits of tagging blog posts. For those bloggers using WordPress, I recommend the Ultimate Tag Warrior plugin to accomplish this.
But what if you have a WordPress-powered site and you want to tag static Pages, not just Posts? Well I have some good news! Even though Ultimate Tag Warrior doesn&#8217;t [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve blogged before about the <a href="http://www.stephanspencer.com/archives/2006/01/16/blog-seo-tip-3-tagging/">SEO benefits of tagging blog posts</a>. For those bloggers using WordPress, I recommend the Ultimate Tag Warrior plugin to accomplish this.</p>
<p>But what if you have a WordPress-powered site and you want to tag static Pages, not just Posts? Well I have some good news! Even though Ultimate Tag Warrior doesn&#8217;t currently support tagging of Pages, I managed to figure out a workaround. The hack (to version 3.14159 of the plugin) involves the addition of a mere two lines of code&#8230;</p>
<p><span id="more-186"></span><br />
First, add after line 1551 of ultimate-tag-warrior-core.php:<br />
<code>$request = preg_replace("/ AND post_status != 'static'/","", $request);</code></p>
<p>Second, and add after line 819 on ultimate-tag-warrior-actions.php:<br />
<code>add_action('edit_page_form', array('UltimateTagWarriorActions','ultimate_display_tag_widget'));</code></p>
<p>The first line modifies the MySQL select statement that specifically excludes static pages.</p>
<p>The second line adds the tag field to the Write Page form.</p>
<p>I&#8217;ve communicated this hack to Christine Davis, the author of the UltimateTagWarrior plugin. Happily, she said she will look at adding it to the next version. <img src='http://www.naturalsearchblog.com/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> </p>
<p>UPDATE: This hack has made it into the latest version of UTW. Unfortunately, the hack doesn&#8217;t work with WordPress 2.1. So if you&#8217;re running WP2.1, tagged static pages don&#8217;t show up on tag pages. That&#8217;s because the WordPress developers switched to using post_type = &#8216;page&#8217; for static pages. So I got it working by putting the following into line 1564 in ultimate-tag-warrior-core.php (version 3.1415926 of UTW):<br />
<code>$request = preg_replace("/post_type = 'post'/","post_type = 'post' OR post_type = 'page'", $request);</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.naturalsearchblog.com/archives/2006/12/13/tagging-wordpress-pages-with-ultimate-tag-warrior/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
