# "Hugo way" to create new content in year/month/subfolders?

**URL:** https://discourse.gohugo.io/t/hugo-way-to-create-new-content-in-year-month-subfolders/36557
**Category:** support
**Created:** [January 14, 2022, 4:45am UTC](https://discourse.gohugo.io/t/hugo-way-to-create-new-content-in-year-month-subfolders/36557 "2022-01-14T04:45:07Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![cshoredaniel](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/cshoredaniel/32/19684_2.png) [@cshoredaniel](https://discourse.gohugo.io/u/cshoredaniel)
#### Post date: [January 14, 2022, 6:01am UTC](https://discourse.gohugo.io/t/hugo-way-to-create-new-content-in-year-month-subfolders/36557/2 "2022-01-14T06:01:09Z")

</div>

[aside]I could have sworn I’d seen an answer to this before, but I searched and apparently not.[/aside]

EDIT: I eventually found [Dates in post filenames - #7 by zwacky](https://discourse.gohugo.io/t/dates-in-post-filenames/26219/7) if that is any value.

I don’t have an answer, but I do have a reason you might want to reconsider that kind of directory structure:

It rather breaks Hugo’s section / content-type based on subdir. You could have content/section/2022/01/new-title, but I don’t know if that is something that will work for you.

Of course frontmatter can allow using non-standard content model, but I’m thinking if you do that you are looking at a lot of extra work.

I’m guessing you are trying to make it easier to crossover between WordPress and Hugo and I would be surprised if you didn’t already know about:

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

The upshot is that I would ask: “are you sure this directory structure is really going to work for you, if you can figure out how to do the `hugo new` part?”

---

_[View the full topic](https://discourse.gohugo.io/t/hugo-way-to-create-new-content-in-year-month-subfolders/36557)._
