# Upgraded and lost all of my tags?

**URL:** <https://discourse.gohugo.io/t/upgraded-and-lost-all-of-my-tags/12224>\
**Category:** support\
**Created:** [June 1, 2018, 2:14pm UTC](https://discourse.gohugo.io/t/upgraded-and-lost-all-of-my-tags/12224 "2018-06-01T14:14:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![frew](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/frew/32/1873_2.png) [@frew](https://discourse.gohugo.io/u/frew)\
**Post date:** [June 1, 2018, 2:14pm UTC](https://discourse.gohugo.io/t/upgraded-and-lost-all-of-my-tags/12224/1 "2018-06-01T14:14:27Z")

</div>

I suspect I need to update configuration or something. My blog is at [https://github.com/frioux/blog](https://github.com/frioux/blog) ; you should be able to check it out and build it to see my issue.

I’ve been using 0.22 for ages and recently saw the addition of non python syntax highlighting so I went ahead and upgraded. Unfortunately I found that my tags no longer get created! With version 0.32 I get ./public/tags/vim/index.html, with version 0.33 that file is never created.

I saw that `indexes` was removed, so I made this change to my config but it still doesn’t create the tag files:

```auto
 author:
   name: "Arthur Axel fREW Schmidt"
   twitter: frioux
-indexes:
+taxonomies:
   tag: 'tags'
 baseurl: 'https://blog.afoolishmanifesto.com'
 canonifyurls: false

```

I rolled back to 0.22 but would love to be on a modern version; can anyone help?

---

<div class="post-metadata">

**Author:** ![alexandros](https://avatars.discourse-cdn.com/v4/letter/a/ecc23a/32.png) [@alexandros](https://discourse.gohugo.io/u/alexandros)\
**Post date:** [June 1, 2018, 3:37pm UTC](https://discourse.gohugo.io/t/upgraded-and-lost-all-of-my-tags/12224/2 "2018-06-01T15:37:43Z")

</div>

It’s `baseURL` not `baseurl` also it’s `canonifyURLs` not `canonifyurls`

See: [https://gohugo.io/getting-started/configuration/](https://gohugo.io/getting-started/configuration/)

And for taxonomies: [https://gohugo.io/content-management/taxonomies#configure-taxonomies](https://gohugo.io/content-management/taxonomies#configure-taxonomies)

---

<div class="post-metadata">

**Author:** ![Jura](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jura/32/13581_2.png) [@Jura](https://discourse.gohugo.io/u/Jura)\
**Post date:** [June 1, 2018, 3:39pm UTC](https://discourse.gohugo.io/t/upgraded-and-lost-all-of-my-tags/12224/3 "2018-06-01T15:39:47Z")

</div>

If I try your repo, I get the same problem that the individual tag pages don’t render. But it gets fixed when you copy `/layouts/indexes/tag.html` to `/layouts/_default/tags.html`. Then the tag pages render properly.

I don’t know what happened with the template order with Hugo 0.22 versus 0.41, but it seems you’ll need to change the [lookup order for taxonomy terms](https://gohugo.io/templates/lookup-order/#examples-layout-lookup-for-taxonomy-terms-pages).

---

<div class="post-metadata">

**Author:** ![frew](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/frew/32/1873_2.png) [@frew](https://discourse.gohugo.io/u/frew)\
**Post date:** [June 1, 2018, 3:57pm UTC](https://discourse.gohugo.io/t/upgraded-and-lost-all-of-my-tags/12224/4 "2018-06-01T15:57:12Z")

</div>

I tried your suggestion @Jura and it doesn’t seem to have made any difference. I pushed the change to a branch in the repo called `modern-hugo` ([https://github.com/frioux/blog/commit/eedce53a211d7106c0eb3d07ca7c30b44e94c10e](https://github.com/frioux/blog/commit/eedce53a211d7106c0eb3d07ca7c30b44e94c10e)), in case I made a dumb mistake. I’m looking at the lookup order now to see if maybe I am misunderstanding something.

---

<div class="post-metadata">

**Author:** ![frew](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/frew/32/1873_2.png) [@frew](https://discourse.gohugo.io/u/frew)\
**Post date:** [June 1, 2018, 4:03pm UTC](https://discourse.gohugo.io/t/upgraded-and-lost-all-of-my-tags/12224/5 "2018-06-01T16:03:42Z")

</div>

Aha, I needed to put the file in `layouts/_default/tag.html` (singular, not plural.) Thanks for the tips!
