# Hugo \>= 0.32 generates pages only after rename of file

**URL:** <https://discourse.gohugo.io/t/hugo-0-32-generates-pages-only-after-rename-of-file/11220>\
**Category:** support\
**Created:** [March 26, 2018, 7:00pm UTC](https://discourse.gohugo.io/t/hugo-0-32-generates-pages-only-after-rename-of-file/11220 "2018-03-26T19:00:53Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ManuelHu](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/manuelhu/32/5573_2.png) [@ManuelHu](https://discourse.gohugo.io/u/ManuelHu)\
**Post date:** [March 26, 2018, 7:00pm UTC](https://discourse.gohugo.io/t/hugo-0-32-generates-pages-only-after-rename-of-file/11220/1 "2018-03-26T19:00:53Z")

</div>

I already commented on [https://github.com/gohugoio/hugo/issues/4539](https://github.com/gohugoio/hugo/issues/4539) and I followed the advice to post it over here.

Look here for a simple test site: [https://gist.github.com/ManuelHu/1d9bda66b8dfa62f3ee8fab7611ca6f5/raw/c47260e8a4caf101362aee314bd18fdb4b22827a/test.zip](https://gist.github.com/ManuelHu/1d9bda66b8dfa62f3ee8fab7611ca6f5/raw/c47260e8a4caf101362aee314bd18fdb4b22827a/test.zip) This is obviously not my real site, but it shows the same problems as my site and uses the same theme.

How to reproduce my problem: Run `hugo server` (\>=0.32) and visit it in a browser. The home page works just fine, the page labled X shows a 404. At least this is the case for me.

In server mode, I can fix the issue by renaming the file `x/index.md` to `x/index1.md` and back. After a reload in the browser the page shows up. Of course, the problem can’t be fixed like that in “normal” static output mode.

In hugo version 0.30 and 0.31 everything works fine. Maybe it’s dependant on the theme (hugo-material-docs), but there are no error messages shown in the console.

Hugo version: 0.37.1  
OS: Windows 10

I would be glad if someone could help me!

---

<div class="post-metadata">

**Author:** ![sascha-andres](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/sascha-andres/32/5520_2.png) [@sascha-andres](https://discourse.gohugo.io/u/sascha-andres)\
**Post date:** [March 27, 2018, 6:46am UTC](https://discourse.gohugo.io/t/hugo-0-32-generates-pages-only-after-rename-of-file/11220/2 "2018-03-27T06:46:46Z")

</div>

Looks like the same: [Pages not rendering](https://discourse.gohugo.io/t/pages-not-rendering/11137/2)

I think you already posted at the issue I created.

This all seems related to the page bundles. Still I have found no way to translate the sample from my post but the posts sections resolved by adding a \_index.md file.

---

<div class="post-metadata">

**Author:** ![ManuelHu](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/manuelhu/32/5573_2.png) [@ManuelHu](https://discourse.gohugo.io/u/ManuelHu)\
**Post date:** [March 27, 2018, 7:55am UTC](https://discourse.gohugo.io/t/hugo-0-32-generates-pages-only-after-rename-of-file/11220/3 "2018-03-27T07:55:41Z")

</div>

I have posted verbose information on your thread, so this one should probably be closed.
