# How to disable rss for the default tag and author taxonomies?

**URL:** <https://forum.ghost.org/t/how-to-disable-rss-for-the-default-tag-and-author-taxonomies/44141>\
**Category:** Routing\
**Created:** [January 15, 2024, 2:01pm UTC](https://forum.ghost.org/t/how-to-disable-rss-for-the-default-tag-and-author-taxonomies/44141 "2024-01-15T14:01:32Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![wwvitalik](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/wwvitalik/32/8522_2.png) [@wwvitalik](https://forum.ghost.org/u/wwvitalik)\
**Post date:** [January 15, 2024, 2:01pm UTC](https://forum.ghost.org/t/how-to-disable-rss-for-the-default-tag-and-author-taxonomies/44141/1 "2024-01-15T14:01:32Z")

</div>

Hello!  
I had disabled rss from the default root (/) collection, but it didn’t disable rss for the tag taxonomy (and, probably, for the author taxonomy).

How would you recommend disabling rss for the default tag and author taxonomies?  
Simply putting `rss: false` under the tag taxonomy leads to an error (see the screen):

 ![How to disable tag rss then?](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/3X/0/9/09ca4e331a82f62662d43b8277de00b9dc7fcdb4.png)

P.S. I checked docs but haven’t found a solution.

---

<div class="post-metadata">

**Author:** ![Cathy\_Sarisky](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/cathy_sarisky/32/25750_2.png) [@Cathy\_Sarisky](https://forum.ghost.org/u/Cathy_Sarisky)\
**Post date:** [January 15, 2024, 3:46pm UTC](https://forum.ghost.org/t/how-to-disable-rss-for-the-default-tag-and-author-taxonomies/44141/2 "2024-01-15T15:46:00Z")

</div>

If you don’t come up with a way to directly disable them, you might create a custom redirect that overrides them. something like this?

```auto
301:
  ^\/tag\/([a-z0-9-]+)\/rss\/: /error

```

That’ll cause Ghost to 404 for any /tag/(slug)/rss/ request. (Unless you actually have a page at /error.) You could also send the user somewhere more useful, like a page explaining that you don’t do RSS feeds…

---

<div class="post-metadata">

**Author:** ![wwvitalik](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/wwvitalik/32/8522_2.png) [@wwvitalik](https://forum.ghost.org/u/wwvitalik)\
**Post date:** [April 24, 2024, 4:54pm UTC](https://forum.ghost.org/t/how-to-disable-rss-for-the-default-tag-and-author-taxonomies/44141/3 "2024-04-24T16:54:06Z")

</div>

Thank you!  
I did a quick search and found that redirecting users to a non-existing page might not be good for SEO. So I decided to use the following rule in my `redirects.yaml`:

```auto
301:
  ^\/tag\/([a-z0-9-]+)\/rss\/$: /tag/$1/

```

It will redirect

from `your-ghost.site/tag/faq/rss/`  
to `your-ghost.site/tag/faq/`

from `your-ghost.site/tag/billing-and-charges/rss/`  
to `your-ghost.site/tag/billing-and-charges/` and so on.

P.S. Some people say redirecting to a home page is considered a soft 404.

---

<div class="post-metadata">

**Author:** ![wwvitalik](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/wwvitalik/32/8522_2.png) [@wwvitalik](https://forum.ghost.org/u/wwvitalik)\
**Post date:** [April 24, 2024, 5:21pm UTC](https://forum.ghost.org/t/how-to-disable-rss-for-the-default-tag-and-author-taxonomies/44141/4 "2024-04-24T17:21:00Z")

</div>

(Bonus) If someone is interested in an alternative way of disabling rss for the tag taxonomy.

We’ll use a custom template that displays an error message whenever a visitor goes to `your-ghost.site/tag/(slug)/rss/`

Step 1. Add the following rule to your routes.yaml

```auto
routes:
  /tag/:slug/rss/:
    template: error-for-rss
    content_type: text/xml

```

Step 2. Create that template (`error-for-rss.hbs`) inside your theme directory and put the following content:

```auto
<?xml version="1.0" encoding="UTF-8"?>
<rss>
    We don't provide RSS feeds at the moment.
</rss>

```

Step 3. Save and re-upload routes.yaml and theme to your Ghost installation.

Done.
