<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>ThemeShaper Forums Topic: remove 'noindex' from category pages</title>
<link>http://themeshaper.com/forums/</link>
<description>Help In Shaping WordPress Themes</description>
<language>en</language>
<pubDate>Thu, 23 May 2013 22:35:43 +0000</pubDate>

<item>
<title>ScottNix on "remove 'noindex' from category pages"</title>
<link>http://themeshaper.com/forums/topic/remove-noindex-from-category-pages#post-23059</link>
<pubDate>Tue, 13 Sep 2011 20:51:48 +0000</pubDate>
<dc:creator>ScottNix</dc:creator>
<guid isPermaLink="false">23059@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Yup, you are correct, functions.php :)
&#60;/p&#62;</description>
</item>
<item>
<title>edensun on "remove 'noindex' from category pages"</title>
<link>http://themeshaper.com/forums/topic/remove-noindex-from-category-pages#post-23057</link>
<pubDate>Tue, 13 Sep 2011 07:19:10 +0000</pubDate>
<dc:creator>edensun</dc:creator>
<guid isPermaLink="false">23057@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Thanks ScottNix. Appreciate it a lot man. I am assuming that this gets pasted in my functions.php file?
&#60;/p&#62;</description>
</item>
<item>
<title>ScottNix on "remove 'noindex' from category pages"</title>
<link>http://themeshaper.com/forums/topic/remove-noindex-from-category-pages#post-22982</link>
<pubDate>Mon, 05 Sep 2011 20:10:52 +0000</pubDate>
<dc:creator>ScottNix</dc:creator>
<guid isPermaLink="false">22982@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Ok, this will change the noindex, nofollow meta to index, follow on the categories.&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;// remove the index and follow tags from main pages and allow categories to be indexed
function childtheme_create_robots($content) {
	if (thematic_seo()) {
		if((is_home() &#38;#38;&#38;#38; ($paged &#38;lt; 2 )) &#124;&#124; is_front_page() &#124;&#124; is_single() &#124;&#124; is_page() &#124;&#124; is_attachment()) {
		    $content = &#38;quot;&#38;quot;;
		} elseif (is_search()) {
		    $content = &#38;quot;\t&#38;quot;;
			$content .= &#38;quot;&#38;lt;meta name=\&#38;quot;robots\&#38;quot; content=\&#38;quot;noindex,nofollow\&#38;quot; /&#38;gt;&#38;quot;;
			$content .= &#38;quot;\n\n&#38;quot;;
		} elseif (is_category()) {
		    $content = &#38;quot;\t&#38;quot;;
			$content .= &#38;quot;&#38;lt;meta name=\&#38;quot;robots\&#38;quot; content=\&#38;quot;index,follow\&#38;quot; /&#38;gt;&#38;quot;;
			$content .= &#38;quot;\n\n&#38;quot;;
		} else {
		    $content = &#38;quot;\t&#38;quot;;
			$content .= &#38;quot;&#38;lt;meta name=\&#38;quot;robots\&#38;quot; content=\&#38;quot;noindex,follow\&#38;quot; /&#38;gt;&#38;quot;;
			$content .= &#38;quot;\n\n&#38;quot;;
		}
	return $content;
	}
}
add_filter(&#38;#39;thematic_create_robots&#38;#39;, &#38;#39;childtheme_create_robots&#38;#39;);&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;This snippet will actually do one more thing too... It removes the &#34;index, follow&#34; tag from normal pages. Why? Because by default a page is already index, follow, so having it actually in the meta is redundant and just adds an extra line of code for no reason, so for cleanliness of code, I removed it.
&#60;/p&#62;</description>
</item>
<item>
<title>edensun on "remove 'noindex' from category pages"</title>
<link>http://themeshaper.com/forums/topic/remove-noindex-from-category-pages#post-22973</link>
<pubDate>Mon, 05 Sep 2011 07:22:34 +0000</pubDate>
<dc:creator>edensun</dc:creator>
<guid isPermaLink="false">22973@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;hey guys. can anyone please help me with this? I don't mean to be pushy but don't want my post to be forgotten.&#60;/p&#62;
&#60;p&#62;Thanks&#60;/p&#62;
&#60;p&#62;I really appreciate your time
&#60;/p&#62;</description>
</item>
<item>
<title>edensun on "remove 'noindex' from category pages"</title>
<link>http://themeshaper.com/forums/topic/remove-noindex-from-category-pages#post-22813</link>
<pubDate>Tue, 23 Aug 2011 10:21:45 +0000</pubDate>
<dc:creator>edensun</dc:creator>
<guid isPermaLink="false">22813@http://themeshaper.com/forums/</guid>
<description>&#60;p&#62;Hello. After rummaging around in thousands of themes, i have finally found the one i like. I use thematic with the power blog child theme&#60;/p&#62;
&#60;p&#62;I want to remove the &#34;noindex&#34; attribute from category pages. Currently the source on my category pages shows  &#38;lt;meta name=&#34;robots&#34; content=&#34;noindex,follow&#34; /&#38;gt; &#60;/p&#62;
&#60;p&#62;Doing some research I found that in /library/extensions/header-extensions.php there is thematic_create_robots filter in which this code lives (thanks to helgatheviking)&#60;/p&#62;
&#60;p&#62;Now, I know i have to do something in my functions.php file in my child theme(power blog) to make this work. Any help would be appreciated.&#60;/p&#62;
&#60;p&#62;p.s. I am a php newbie.&#60;/p&#62;
&#60;p&#62;Thanks very much&#60;/p&#62;
&#60;p&#62;Eden
&#60;/p&#62;</description>
</item>

</channel>
</rss>
