<?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>gHacks technology news &#187; wordpress feeds</title>
	<atom:link href="http://www.ghacks.net/tag/wordpress-feeds/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ghacks.net</link>
	<description>A technology blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description>
	<lastBuildDate>Tue, 24 Nov 2009 23:31:44 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.6</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Exclude Categories From Wordpress Feeds</title>
		<link>http://www.ghacks.net/2009/07/03/exclude-categories-from-wordpress-feeds/</link>
		<comments>http://www.ghacks.net/2009/07/03/exclude-categories-from-wordpress-feeds/#comments</comments>
		<pubDate>Thu, 02 Jul 2009 23:29:13 +0000</pubDate>
		<dc:creator>Martin</dc:creator>
				<category><![CDATA[The Web]]></category>
		<category><![CDATA[Tutorials Basic]]></category>
		<category><![CDATA[exclude categories]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[rss feed]]></category>
		<category><![CDATA[wordpress]]></category>
		<category><![CDATA[wordpress feeds]]></category>
		<category><![CDATA[wordpress tips]]></category>

		<guid isPermaLink="false">http://www.ghacks.net/?p=14087</guid>
		<description><![CDATA[I received an email from Matthew a few hours ago who asked if there was a possibility to exclude certain categories from my website from appearing in the RSS feed. I was really busy with a website that I purchased earlier this morning and could not answer immediately. The good news is that it is [...]]]></description>
			<content:encoded><![CDATA[<p><img src="http://www.ghacks.net/wp-content/uploads/2009/04/wordpress.png" alt="wordpress" title="wordpress" width="128" height="128" class="alignleft size-full wp-image-11834" />I received an email from Matthew a few hours ago who asked if there was a possibility to exclude certain categories from my website from appearing in the RSS feed. I was really busy with a website that I purchased earlier this morning and could not answer immediately. The good news is that it is possible to exclude categories from Wordpress RSS feeds.</p>
<p>The bad news is that it might not work with all Wordpress blogs and that the user who wants to exclude the categories needs to know their category ID. The first problem is easier to solve. Excluding categories from Wordpress feeds works if the Wordpress blog is not using the Feedburner feed redirection plugin or a comparable plugin. The feed redirection plugin redirects all feed requests (no matter if they are category specific or the full feed) to an RSS service like Feedburner. This prevents that users can create individual feeds based on categories, authors or tags. It also prevents the exclusion of categories in the feed.</p>
<p><span id="more-14087"></span>Finding out the category IDs of a Wordpress blog is the second obstacle. Most webmasters use pretty permalinks which do not display IDs on the website. The only way to find out without asking the website owner is trial and error. Is is possible to open categories with their IDs in Wordpress even if the Pretty Permalinks option is enabled. To open a category with a category ID one would open the following url in a web browser:</p>
<p><code>http://www.ghacks.net/index.php?cat=23</code></p>
<p>This would open the Linux category here at Ghacks. This can be a very time consuming process as I have seen categories with five digits. So its probably best to ask the administrator about the category IDs. (Feel free to post additional solutions in the comments).</p>
<p>To exclude categories from RSS feeds in Wordpress one would use the following syntax:</p>
<p><code>http://www.ghacks.net/feed/?cat=-23</code></p>
<p>This removes category 23 from the main feed of the website. It is possible to exclude multiple categories from the feed, simply append an &#038; and another cat=-xx in the end:</p>
<p><code>http://www.ghacks.net/feed/?cat=-23&#038;cat=-9592</code></p>
<p>This excludes the Linux and Mac categories from the RSS feed.</p>

	Tags: <a href="http://www.ghacks.net/tag/exclude-categories/" title="exclude categories" rel="tag">exclude categories</a>, <a href="http://www.ghacks.net/tag/rss/" title="rss" rel="tag">rss</a>, <a href="http://www.ghacks.net/tag/rss-feed/" title="rss feed" rel="tag">rss feed</a>, <a href="http://www.ghacks.net/tag/wordpress/" title="wordpress" rel="tag">wordpress</a>, <a href="http://www.ghacks.net/tag/wordpress-feeds/" title="wordpress feeds" rel="tag">wordpress feeds</a>, <a href="http://www.ghacks.net/tag/wordpress-tips/" title="wordpress tips" rel="tag">wordpress tips</a><br />

	<h4>Related posts</h4>
	<ul class="st-related-posts">
	<li><a href="http://www.ghacks.net/2009/04/16/wordpress-seo-advanced-nofollow/" title="Wordpress SEO: Advanced Nofollow (April 16, 2009)">Wordpress SEO: Advanced Nofollow</a> (3)</li>
	<li><a href="http://www.ghacks.net/2008/12/17/wordpress-hack-change-number-of-comments-per-page-in-admin-interface/" title="Wordpress Hack: Change Number Of Comments Per Page In Admin Interface (December 17, 2008)">Wordpress Hack: Change Number Of Comments Per Page In Admin Interface</a> (4)</li>
	<li><a href="http://www.ghacks.net/2009/04/08/wordpress-blogs-create-custom-tag-pages/" title="Wordpress Blogs: Create Custom Tag Pages (April 8, 2009)">Wordpress Blogs: Create Custom Tag Pages</a> (5)</li>
	<li><a href="http://www.ghacks.net/2008/07/17/we-passed-the-10000-rss-subscribers-mark/" title="We passed the 10000 RSS Subscribers Mark (July 17, 2008)">We passed the 10000 RSS Subscribers Mark</a> (16)</li>
	<li><a href="http://www.ghacks.net/2008/11/18/rss-feed-filter-feedrinse/" title="RSS Feed Filter Feedrinse (November 18, 2008)">RSS Feed Filter Feedrinse</a> (3)</li>
</ul>

]]></content:encoded>
			<wfw:commentRss>http://www.ghacks.net/2009/07/03/exclude-categories-from-wordpress-feeds/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
