# Exclude post from the category page by internal tag

**URL:** <https://forum.ghost.org/t/exclude-post-from-the-category-page-by-internal-tag/34879>\
**Category:** Off-topic\
**Created:** [December 17, 2022, 4:43pm UTC](https://forum.ghost.org/t/exclude-post-from-the-category-page-by-internal-tag/34879 "2022-12-17T16:43:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![clarkwatson23](https://avatars.discourse-cdn.com/v4/letter/c/85e7bf/32.png) [@clarkwatson23](https://forum.ghost.org/u/clarkwatson23)\
**Post date:** [December 17, 2022, 4:43pm UTC](https://forum.ghost.org/t/exclude-post-from-the-category-page-by-internal-tag/34879/1 "2022-12-17T16:43:25Z")

</div>

```auto
routes:

collections:
  /:
    permalink: /{slug}/
    template: index
    filter: 'tag:-hash-hidden'
  /tag/:
    permalink: /{slug}/
    template: tag
    filter: 'tag:-hash-hidden'
taxonomies:
  tag: /tag/{slug}/
  author: /author/{slug}/

```

Since “taxonomies” doesn’t support the attribute “filter” that’s why I have edited the route file like this.  
I would like to hide the post from the website using the internal tag named “#hidden”. It works for the homepage but doesn’t for the tag page.

I have tried by using `{{^has tag="#hidden"}}{{/has}}`. Using this posts don’t display but it counts as posts and it creates a problem for pagination. It hides posts but displays the next page number.

If anyone can help me or any other suggestion to solve this problem I would be grateful.  
Thanks in advance.
