# Allow taxonomy with limitations

**URL:** <https://discourse.gohugo.io/t/allow-taxonomy-with-limitations/9609>\
**Category:** support\
**Created:** [December 14, 2017, 2:33pm UTC](https://discourse.gohugo.io/t/allow-taxonomy-with-limitations/9609 "2017-12-14T14:33:42Z")\
**Posts on this page:** 1\
**Showing post:** 10

<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:** [December 14, 2017, 3:20pm UTC](https://discourse.gohugo.io/t/allow-taxonomy-with-limitations/9609/10 "2017-12-14T15:20:12Z")

</div>

No. But you can hide these pages so that search engines cannot index them.

Replicate your taxonomies as a folder structure under `/content/` and then in the` _index.md` add the following parameter:

```
+++
hidden = "true"
+++

```

And then in the head partial of your site you could include

> `{{ with .Params.hidden }}<meta name="robots" content="noindex">{{ end }}`

Also change your `sitemap.xml` template under `/layouts/` to:

```
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
  {{ range .Data.Pages }}{{ if not .Params.hidden }}
  <url>
    <loc>{{ .Permalink }}</loc>
    {{ with .Sitemap.ChangeFreq }}
    <changefreq>{{ . }}</changefreq>{{ end }}{{ if ge .Sitemap.Priority 0.0 }}
    <priority>{{ .Sitemap.Priority }}</priority>{{ end }}
  </url>
  {{ end }}{{ end }}
</urlset>

```

---

_[View the full topic](https://discourse.gohugo.io/t/allow-taxonomy-with-limitations/9609)._
