# custom 503 and 404 error page

**URL:** <https://forum.shopware.com/t/custom-503-and-404-error-page/63684>\
**Category:** Themes & Design (EN)\
**Created:** [24. Dezember 2019 um 07:57 UTC](https://forum.shopware.com/t/custom-503-and-404-error-page/63684 "2019-12-24T07:57:27Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![wkra](https://avatars.discourse-cdn.com/v4/letter/w/ee59a6/32.png) [@wkra](https://forum.shopware.com/u/wkra)\
**Post date:** [24. Dezember 2019 um 07:57 UTC](https://forum.shopware.com/t/custom-503-and-404-error-page/63684/1 "2019-12-24T07:57:27Z")

</div>

Hi.

How can I create custom 503 and 404 error page?

---

<div class="post-metadata">

**Author:** ![maurits](https://avatars.discourse-cdn.com/v4/letter/m/dec6dc/32.png) [@maurits](https://forum.shopware.com/u/maurits)\
**Post date:** [10. Januar 2020 um 15:18 UTC](https://forum.shopware.com/t/custom-503-and-404-error-page/63684/2 "2020-01-10T15:18:14Z")

</div>

what about creating a 404 in your theme / plugin: `Resources/views/storefront/page/error/error-404.html.twig` ?

---

<div class="post-metadata">

**Author:** ![charlotteee](https://avatars.discourse-cdn.com/v4/letter/c/9dc877/32.png) [@charlotteee](https://forum.shopware.com/u/charlotteee)\
**Post date:** [1. Februar 2020 um 20:23 UTC](https://forum.shopware.com/t/custom-503-and-404-error-page/63684/3 "2020-02-01T20:23:09Z")

</div>

how to link to the new html.twig that created by yourself?

I tried to add a controller.php to my theme and configured route.xml and services.xml, but it&nbsp;still can’t configure it properly.

---

<div class="post-metadata">

**Author:** ![kulli](https://avatars.discourse-cdn.com/v4/letter/k/a3d4f5/32.png) [@kulli](https://forum.shopware.com/u/kulli)\
**Post date:** [2. Februar 2020 um 07:29 UTC](https://forum.shopware.com/t/custom-503-and-404-error-page/63684/4 "2020-02-02T07:29:15Z")

</div>

You can create it : content - shopping experience - shop Pages

Create new one “shop page”

Then go to settings - shop - basic informations

 ![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/0/08e88eb690f0cf3d3666d4fb1dcbd61de40dffd1.png)

&nbsp;

---

<div class="post-metadata">

**Author:** ![luiquecruz](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/luiquecruz/32/17179_2.png) [@luiquecruz](https://forum.shopware.com/u/luiquecruz)\
**Post date:** [31. Mai 2022 um 19:59 UTC](https://forum.shopware.com/t/custom-503-and-404-error-page/63684/5 "2022-05-31T19:59:39Z")

</div>

It worked fine!

In my case, just have to check my `.env` file for `APP_ENV` and change it from `dev` to `prod` in order to work error handling page!
