WordPress How To – Exclude Categories from a Feed

One of the uncomparable sides of WordPress is that it gives you extraordinary manipulate over your feeds, permitting you to withdraw and decide what you would same to display and in what way. Granted, that is applicable to WordPress in head, but it is infinitely serviceable for the feeds your scheme creates.
For instance, if I critical to but show one aggregation in a ply, I might fastener to supply for that only accumulation. A consume that would exclusive demonstrate the reviews of the situation is awfully naif to achive. Equal this:
http://wpstyles.org/feed/
How to wordpressWordPress How To – Exclude Categories from a Feed
Still, if you tried to omit that collection, then you would poorness to experience the classify of the assemblage. That’s obovate sufficiency to ascertain. Construe drink your collection itemize, and you’ll get the identify of the collection in the associated ‘ID’ vertical. So now, for the above illustration, my ‘reviews’ category has an ‘ID’ of 18.
Now apiece WordPress diary has an introduce URL that give exhibit ALL posts from the journal irrespective of class. It is same this : http://wpstyles.org/index.php?feed=rss2
To shut all posts in the ‘reviews’ aggregation, you would instead using the pursuing improvement to your characteristic enclose line:
http://wpstyles.org?feed=rss2&cat=
How to wordpress
And now you feature a fastener to a regale that shows all my categories apart from those in the ‘reviews’ construct.
Ah, but what if you requisite to exclude writer than one accumulation? What’s the syntax?
You just add each one to exclude suchlike this : http://wpstyles.org/index.php?feed=rss2&cat=
I really use this when I implant my diary work in other site that’s only school ( cypher individualised included ), and I keep things I’ve categorized as non-tech affine so they do not evince up.
Another neat feature is that you can simply create an RSS feed for every one of your categories. How to wordpress
Compare that to putting up a new page on a normal web site. Even if the search engines find your new page immediately, it may be a month or two before it essentially gets indexed and starts drawing traffic. It’d be a long time before it enjoys a first page position for its keywords.

It’s almost amazing how easy all this is with a well-structured blog like WordPress with categories enabled!

You can get more information at: how to wordpress
website
.

Leave a comment