# Remove Category, Tag and Author Feed Links From the Head

> Stops WordPress from advertising separate feeds for every category, tag, author, search and archive page, while keeping your main feed link.

- Type: PHP
- Runs: Run everywhere
- Category: [RSS Feeds](https://wpide.com/library/category/rss/)
- Tags: rss, head, cleanup
- Author: WPIDE Team
- Installs: 0
- Updated: 2026-10-28
- Page: https://wpide.com/library/remove-extra-feed-links/

## Code

```php
foreach ( array( 'category', 'tag', 'tax', 'author', 'search', 'post_type_archive' ) as $wpide_feed_type ) {
    add_filter( 'feed_links_extra_show_' . $wpide_feed_type . '_feed', '__return_false' );
}
```

## Notes

The feeds still work if someone visits them directly. Use the Remove Comment Feeds snippet for comment feed links.

## How to use it

Install the free WPIDE plugin (https://wordpress.org/plugins/wpide/), find "Remove Category, Tag and Author Feed Links From the Head" in its snippet library and add it in one click; or create a new PHP snippet in WPIDE (or any code snippets plugin) and paste the code above. More snippets: https://wpide.com/library/
