# Hugo gives 404 instead of static page

**URL:** <https://discourse.gohugo.io/t/hugo-gives-404-instead-of-static-page/14311>\
**Category:** support\
**Created:** [September 21, 2018, 9:32am UTC](https://discourse.gohugo.io/t/hugo-gives-404-instead-of-static-page/14311 "2018-09-21T09:32:20Z")\
**Posts on this page:** 1\
**Showing post:** 6

<div class="post-metadata">

**Author:** ![pointyfar](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/pointyfar/32/5797_2.png) [@pointyfar](https://discourse.gohugo.io/u/pointyfar)\
**Post date:** [September 21, 2018, 1:05pm UTC](https://discourse.gohugo.io/t/hugo-gives-404-instead-of-static-page/14311/6 "2018-09-21T13:05:04Z")

</div>

Sorry, my mistake, it should apparently work with html files (read: [[SOLVED] Using HTML for content pages instead of Markdown](https://discourse.gohugo.io/t/solved-using-html-for-content-pages-instead-of-markdown/3374)).

Do you have `draft = false` in your frontmatter? (alternatively, run `hugo server` with the `--buildDrafts` flag)

* * *

Additional notes:

> [@mariusa](#):
>
> \_services.html

> [@mariusa](#):
>
> /services gives 404

Not sure if the underscore in `_services.html` is a typo or intentional, but that should render to `/_services`, not `/services` (see: [Content organization | Hugo](https://gohugo.io/content-management/organization/) )

---

_[View the full topic](https://discourse.gohugo.io/t/hugo-gives-404-instead-of-static-page/14311)._
