Feb 15, 2013

How to disable the RSS-feed in WordPress

Filled under:

How to disable the RSS-feed in WordPress

WordPress is one of the best available content management systems (CMS). It may happen that you, when you create a static site, not to use a RSS-feeds.But this feature is automatically included in WordPress, and to turn it off, you have to edit the main files. But in this article we will show you how you can disable the RSS without editing the main file, simply create a function in WordPress .

Open the functions.php file located in your themes, and add the following code:
simply create a function in WordPress

After adding this code, if someone tries to get your channels, you will see the following message: "There are no channels available, please visit our website." You can edit a post in accordance with your wishes.

2 comments:

  1. It is good to know, but I am not going to remove that tool from my blog. Because it needs to share my post on RSS feed sites.

    ReplyDelete
  2. I have two blogs on WordPress platform and both have RSS feeds options. In-spite of it that i don't want to disable this option but being a blogger definitely i want to learn about it. After read your post i learn about this stuff that how i can disable this feed and i hope this knowledge will help me in future.

    ReplyDelete