# Taxonomy Term Normalization In URLs

**URL:** https://discourse.gohugo.io/t/taxonomy-term-normalization-in-urls/9678
**Category:** tips & tricks
**Created:** [December 22, 2017, 4:59pm UTC](https://discourse.gohugo.io/t/taxonomy-term-normalization-in-urls/9678 "2017-12-22T16:59:33Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![cudevmaxwell](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/cudevmaxwell/32/4813_2.png) [@cudevmaxwell](https://discourse.gohugo.io/u/cudevmaxwell)
#### Post date: [December 22, 2017, 4:59pm UTC](https://discourse.gohugo.io/t/taxonomy-term-normalization-in-urls/9678/1 "2017-12-22T16:59:33Z")

</div>

hugo version  
Hugo Static Site Generator v0.31.1 linux/amd64 BuildDate: 2017-11-27T06:26:24-05:00

I was building a french site with accented characters in the taxonomy terms. I wanted accents in the values, but I wanted them stripped out (normalized) in the URLs.

Here’s the undocumented configuration option which worked:

`removePathAccents = true`

Also, when these config options are set:

```
languageCode = "fr-CA"
defaultContentLanguage = "fr-CA"

```

it seems that

`preserveTaxonomyNames = true`

doesn’t do anything.

---

<div class="post-metadata">

### Author: ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)
#### Post date: [December 22, 2017, 5:27pm UTC](https://discourse.gohugo.io/t/taxonomy-term-normalization-in-urls/9678/2 "2017-12-22T17:27:35Z")

</div>

> [@cudevmaxwell](#):
>
> preserveTaxonomyNames = true
> 
> doesn’t do anything.

That is exactly what it does (or it prevents Hugo from doing that _anything_).

---

<div class="post-metadata">

### Author: ![cudevmaxwell](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/cudevmaxwell/32/4813_2.png) [@cudevmaxwell](https://discourse.gohugo.io/u/cudevmaxwell)
#### Post date: [December 22, 2017, 5:37pm UTC](https://discourse.gohugo.io/t/taxonomy-term-normalization-in-urls/9678/3 "2017-12-22T17:37:14Z")

</div>

My apologies, I wasn’t clear. The config option `preserveTaxonomyNames` being `true` or `false` doesn’t seem to change the output. If set to `false`, the taxonomy term “État de santé et résultats de santé” will still still have the accents when printed using `{{ $value }}` in a template.
