# How to get rid of YYYY/MM in the URL?

**URL:** <https://discourse.gohugo.io/t/how-to-get-rid-of-yyyy-mm-in-the-url/2528>\
**Category:** support\
**Created:** [January 25, 2016, 12:30am UTC](https://discourse.gohugo.io/t/how-to-get-rid-of-yyyy-mm-in-the-url/2528 "2016-01-25T00:30:28Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![maxigas](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/maxigas/32/1161_2.png) [@maxigas](https://discourse.gohugo.io/u/maxigas)\
**Post date:** [January 25, 2016, 12:30am UTC](https://discourse.gohugo.io/t/how-to-get-rid-of-yyyy-mm-in-the-url/2528/1 "2016-01-25T00:30:28Z")

</div>

I am a happy user of hugo for the time being but I want to get rid of the YYYY/MM part in the urls. So instead of [http://hugoblog.example.org/2016/01/foo-bar-baz](http://hugoblog.example.org/2016/01/foo-bar-baz) I want to have URLs like [http://hugoblog.example.org/foo-bar-baz](http://hugoblog.example.org/foo-bar-baz). I know that is how pages work but I would like posts to work like that too.

---

<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:** [January 25, 2016, 12:49am UTC](https://discourse.gohugo.io/t/how-to-get-rid-of-yyyy-mm-in-the-url/2528/2 "2016-01-25T00:49:50Z")

</div>

> **[URL Management](https://gohugo.io/content-management/urls/)**
>
> Hugo supports permalinks, aliases, link canonicalization, and multiple options for handling relative vs absolute URLs.

---

<div class="post-metadata">

**Author:** ![maxigas](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/maxigas/32/1161_2.png) [@maxigas](https://discourse.gohugo.io/u/maxigas)\
**Post date:** [January 25, 2016, 1:11am UTC](https://discourse.gohugo.io/t/how-to-get-rid-of-yyyy-mm-in-the-url/2528/3 "2016-01-25T01:11:17Z")

</div>

Hey thanks, that did the trick.
