Title: Restricting RSS
Last modified: August 20, 2016

---

# Restricting RSS

 *  [similima](https://wordpress.org/support/users/similima/)
 * (@similima)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/restricting-rss/)
 * How can I disable RSS or to linmit in certain posts -control it more easily from
   the admin.I would like to prevent the entire posts send by RSS feed.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/restricting-rss/#post-2355799)
 * You can’t disable RSS – either globally or per post. The best you can do is deny
   access to the feed files. if you would like to prevent the entire post appearing
   in RSS feed, set the feed to _Summary_ in Settings->Discussion.
 *  Thread Starter [similima](https://wordpress.org/support/users/similima/)
 * (@similima)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/restricting-rss/#post-2355800)
 * How can I deny access to the feed files. My site [http://www.similima.com](http://www.similima.com)
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/restricting-rss/#post-2355802)
 * Try adding:
 *     ```
       // Disable feeds
       function my_disable_feed() {
       	wp_die( __('No feed available,please visit our <a href="'. get_bloginfo('url') .'">homepage</a>!') );
       }
       add_action('do_feed', 'my_disable_feed', 1);
       add_action('do_feed_rdf', 'my_disable_feed', 1);
       add_action('do_feed_rss', 'my_disable_feed', 1);
       add_action('do_feed_rss2', 'my_disable_feed', 1);
       add_action('do_feed_atom', 'my_disable_feed', 1);
       ```
   
 * to your theme’s function.php file.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Restricting RSS’ is closed to new replies.

## Tags

 * [RSS](https://wordpress.org/support/topic-tag/rss/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [14 years, 8 months ago](https://wordpress.org/support/topic/restricting-rss/#post-2355802)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
