Blogging Tip: How to exclude posts from your WordPress main page ?



Although your blog might focus on one or two content niches, you might want to write or publish Off-topic content aimed to generate lots of search engine traffic or just expand your blog’s reach to additional audiences.

You may want to keep off topic content away from your blog main page and your RSS feed. Failing to do so might annoy your regular readers , who visit your blog, make useful comments and subscribe to your RSS full feed. Obviously, that’s the last thing you want to do.

If your blog runs on WordPress, excluding posts from your main page is a breeze. All you need to do is to create a new category that will host all your Off-topic posts. Note the ID of the category (from the WordPress Control Panel Manage tab). Then you need to install a simple WordPress plugin named Front Page Excluded Categories.

After installing the plugin you’ll need to configure it to exclude the Off-topic category from the first page. In order to do that just edit the plugin, and add the category id value(s)  that you wish to exclude to the $catstoexclude string.

Example:

$cats_to_exclude = ’28, 29′;

This will exclude categories 28 and 29.

There are a few more plugins that might do the same job, after checking a few of them i found WordPress Front Page Excluded Categories the simplest to use.

Enjoy!







Filed Under: Blogging Tips


Share this post with your friends and peers:

   

    Stumble     Stumble     Twitter



You might want to look into these related tips and tricks:




RSSComments (10)

Leave a Reply | Trackback URL

  1. Thats a wonderful tip Gili . Thanks for informing .

  2. MrGroove says:

    Nice Tip. Will have to look into this one ;)

  3. Dexter says:

    It is a good plugin but sad to say I am using blogspot, MAy be day will come that I will use wordpress.

  4. [...] few days ago I emphasized the usefulness of excluding certain categories from your WordPress blog. Today I would like to show [...]

  5. MrGroove says:

    Now I just need to find a similar MOD to keep mods out of “recent topics”. Any ideas?

  6. [...] I got this idea from Avirtualexit.com . [...]

  7. pens says:

    Hello nice blog! !!
    pen
    It’s my new page.about pens.

  8. Mishef says:

    Nice trick, i must to test it :)

  9. krisna says:

    Thanks bro, this is the plugin that I search at this time and it’s work great!

  10. Hey thanks this helped me :)

Leave a Reply