# Permalinks not working

**URL:** <https://discourse.gohugo.io/t/permalinks-not-working/17463>\
**Category:** support\
**Created:** [March 8, 2019, 9:36pm UTC](https://discourse.gohugo.io/t/permalinks-not-working/17463 "2019-03-08T21:36:56Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![cdupont](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/cdupont/32/10037_2.png) [@cdupont](https://discourse.gohugo.io/u/cdupont)\
**Post date:** [March 8, 2019, 9:36pm UTC](https://discourse.gohugo.io/t/permalinks-not-working/17463/1 "2019-03-08T21:36:56Z")

</div>

Hello, dear Hugoers!  
I have some problem with Permalinks.  
Here is my config.yaml:

```auto
permalinks:
  documentation: "/:year/:month/:title/"

```

However, the URLs does not follow this schema. They stayed with the old content-based links.  
My website is here:

> <https://github.com/Waziup/waziup.io/blob/V2/config.yaml>

Thanks a lot for the help.

---

<div class="post-metadata">

**Author:** ![zwbetz](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/zwbetz/32/16088_2.png) [@zwbetz](https://discourse.gohugo.io/u/zwbetz)\
**Post date:** [March 8, 2019, 9:48pm UTC](https://discourse.gohugo.io/t/permalinks-not-working/17463/2 "2019-03-08T21:48:51Z")

</div>

You’re configuring a permalink that requires your content to have `date` in its front matter… but most of your content pages under your documentation section don’t have this.

Add `date` to all of them, and your permalink should work.

---

<div class="post-metadata">

**Author:** ![cdupont](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/cdupont/32/10037_2.png) [@cdupont](https://discourse.gohugo.io/u/cdupont)\
**Post date:** [March 8, 2019, 10:32pm UTC](https://discourse.gohugo.io/t/permalinks-not-working/17463/3 "2019-03-08T22:32:48Z")

</div>

Thanks a lot, let me try.  
Another quick question: is it possible to have articles using normal URLs (content based), but configure aliases based on the date for all articles?  
For instance:  
This article is served at its normal URL: [www.example.com/documentation/topic1/](http://www.example.com/documentation/topic1/)

```auto
My article
=======

Blabla 

Permalink for this article: www.example.com/2019/02/topic1

```

The idea is that each article contains a link to its permalink location, so the user can link it safely.  
My website is aimed at documentation, so content-based links are OK and look nice.  
However, site reorganization happens often and breaks external links.  
I looked for an “alias” configuration setting for config.yaml, but couldn’t find it.

---

<div class="post-metadata">

**Author:** ![maiki](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/maiki/32/16384_2.png) [@maiki](https://discourse.gohugo.io/u/maiki)\
**Post date:** [March 9, 2019, 12:09am UTC](https://discourse.gohugo.io/t/permalinks-not-working/17463/4 "2019-03-09T00:09:21Z")

</div>

Please read the docs for information, not just the config options: [https://gohugo.io/content-management/urls/#aliases](https://gohugo.io/content-management/urls/#aliases)
