# A Tag page not found

**URL:** <https://discourse.gohugo.io/t/a-tag-page-not-found/41919>\
**Category:** support\
**Tags:** taxonomy\
**Created:** [December 15, 2022, 2:28pm UTC](https://discourse.gohugo.io/t/a-tag-page-not-found/41919 "2022-12-15T14:28:10Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ajdegar](https://avatars.discourse-cdn.com/v4/letter/a/3e96dc/32.png) [@Ajdegar](https://discourse.gohugo.io/u/Ajdegar)\
**Post date:** [December 15, 2022, 2:28pm UTC](https://discourse.gohugo.io/t/a-tag-page-not-found/41919/1 "2022-12-15T14:28:10Z")

</div>

config file

```auto
taxonomies:
  tags: subject
permalinks:
  tags: /subject/:slug/

```

What names and where to put template files, so Hugo will generate list pages for a tag term. I look on documentation etc. and I must do something wrong. Now I have 404 error when open tag name page.

---

<div class="post-metadata">

**Author:** ![jmooring](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jmooring/32/4214_2.png) [@jmooring](https://discourse.gohugo.io/u/jmooring)\
**Post date:** [December 15, 2022, 2:45pm UTC](https://discourse.gohugo.io/t/a-tag-page-not-found/41919/2 "2022-12-15T14:45:27Z")

</div>

site configuration

```plaintext
taxonomies:
  tag: tags
permalinks:
  tags: /subject/:slug

```

markdown:

```plaintext
---
title: Post 1
date: 2021-01-01T00:00:00-00:00
draft: false
tags: [Tag A,Tag B]
---

```

The list of content with `Tag A` is available at `http://localhost:1313/subject/tag-a/`

Permalinks in site configuration do _not_ apply to list pages, so you probably want to do this as well:

```plaintext
hugo new tags/_index.md

```

with content

```plaintext
---
title: Tags
date: 2022-12-15T06:38:21-08:00
draft: false
url: subject
---

```

Finally, if you want to create unique templates for taxonomy and term pages:

```plaintext
layouts/_default/
├── baseof.html
├── home.html
├── list.html
├── single.html
├── taxonomy.html
└── term.html

```
