# Serving 404 page

**URL:** <https://zola.discourse.group/t/serving-404-page/640>\
**Category:** Uncategorized\
**Created:** [October 7, 2020, 9:33am UTC](https://zola.discourse.group/t/serving-404-page/640 "2020-10-07T09:33:46Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![HugoTrentesaux](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/hugotrentesaux/32/105_2.png) [@HugoTrentesaux](https://zola.discourse.group/u/HugoTrentesaux)\
**Post date:** [October 7, 2020, 9:33am UTC](https://zola.discourse.group/t/serving-404-page/640/1 "2020-10-07T09:33:46Z")

</div>

In new version zola 12 it seems that `zola serve` does not redirect to the custom 404 template but only displays “not found”.

---

<div class="post-metadata">

**Author:** ![keats](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@keats](https://zola.discourse.group/u/keats)\
**Post date:** [October 7, 2020, 2:47pm UTC](https://zola.discourse.group/t/serving-404-page/640/2 "2020-10-07T14:47:59Z")

</div>

Woops, forgot about that.  
It should be an easy fix I think if anyone wants to try it.

---

<div class="post-metadata">

**Author:** ![Marco](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/marco/32/478_2.png) [@Marco](https://zola.discourse.group/u/Marco)\
**Post date:** [October 9, 2020, 7:20am UTC](https://zola.discourse.group/t/serving-404-page/640/3 "2020-10-09T07:20:12Z")

</div>

Hi @keats,

I can give it a try. I’m interested in Zola and this seems a good way to get familiar with the codebase.

Is next the branch I should work on?

---

<div class="post-metadata">

**Author:** ![keats](https://avatars.discourse-cdn.com/v4/letter/k/34f0e0/32.png) [@keats](https://zola.discourse.group/u/keats)\
**Post date:** [October 9, 2020, 8:22am UTC](https://zola.discourse.group/t/serving-404-page/640/4 "2020-10-09T08:22:23Z")

</div>

> [@Marco](#):
>
> Is next the branch I should work on?

Yep!

---

<div class="post-metadata">

**Author:** ![Marco](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/marco/32/478_2.png) [@Marco](https://zola.discourse.group/u/Marco)\
**Post date:** [October 9, 2020, 8:55am UTC](https://zola.discourse.group/t/serving-404-page/640/5 "2020-10-09T08:55:56Z")

</div>

Hi @HugoTrentesaux,

> [@HugoTrentesaux](#):
>
> In new version zola 12 it seems that `zola serve` does not redirect to the custom 404 template but only displays “not found”.

I’m trying to reproduce and fix above issue. But for me this seems to work on 0.12.2 on windows. Can you tell me how to reproduce this?

Thanks,  
Marco

---

<div class="post-metadata">

**Author:** ![HugoTrentesaux](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/hugotrentesaux/32/105_2.png) [@HugoTrentesaux](https://zola.discourse.group/u/HugoTrentesaux)\
**Post date:** [October 9, 2020, 10:19am UTC](https://zola.discourse.group/t/serving-404-page/640/6 "2020-10-09T10:19:10Z")

</div>

> [@Marco](#):
>
> Can you tell me how to reproduce this?

No, you’re right. I was using the 0.12.0 version and the 0.12.2 solves it. Thanks 🙂

---

<div class="post-metadata">

**Author:** ![Marco](https://yyz2.discourse-cdn.com/free1/user_avatar/zola.discourse.group/marco/32/478_2.png) [@Marco](https://zola.discourse.group/u/Marco)\
**Post date:** [October 9, 2020, 10:31am UTC](https://zola.discourse.group/t/serving-404-page/640/7 "2020-10-09T10:31:17Z")

</div>

my pleasure
