# Ghost 3 favicon.png requests 500 error

**URL:** <https://forum.ghost.org/t/ghost-3-favicon-png-requests-500-error/21137>\
**Category:** Developer help\
**Created:** [March 23, 2021, 8:25pm UTC](https://forum.ghost.org/t/ghost-3-favicon-png-requests-500-error/21137 "2021-03-23T20:25:15Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![sky\_poler](https://avatars.discourse-cdn.com/v4/letter/s/6a8cbe/32.png) [@sky\_poler](https://forum.ghost.org/u/sky_poler)\
**Post date:** [March 23, 2021, 8:25pm UTC](https://forum.ghost.org/t/ghost-3-favicon-png-requests-500-error/21137/1 "2021-03-23T20:25:15Z")

</div>

We have a custom self hosted ghost site running in ghost 3 currently. In the headers of our templates we have provided favicon.ico images and I see that it renders the favicon correctly on all browsers however I see that ghost is adding a favicon.png request every time and causing a 500 error like below

 ![Screen Shot 2021-03-23 at 3.13.00 PM](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/4/4196ee19489266d43117fa00e38edbcffa6a7353.png)  
Even though we have explicitely outputted a favicon, we are still seeing this error on the front end side. Is there any settings we can change to stop ghost from adding this request in the header automatically?  
 ![Screen Shot 2021-03-23 at 3.24.39 PM](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/2/2e66a80d05619e080f2eeb1b2a78c867fed507fd.png)

I have tried: putting an image at the root of the website so it can grab a custom favicon.png

-Stopping requests to favicon by adding this to the header

-Creating a nginx rule to reroute fetching requests to /favicon.png to the correct path

None of this worked so I looked in the source code of ghost 3 and found this piece of code

 ![Screen Shot 2021-03-23 at 2.01.07 PM](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/f/f211c16cecbd8acfd62dc1bc882733d332f7e647.jpeg)

There is an publication icon that exists inside my ghost admin panel of my ghost blog as well

---

<div class="post-metadata">

**Author:** ![Kenji\_Bailly](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/kenji_bailly/32/11814_2.png) [@Kenji\_Bailly](https://forum.ghost.org/u/Kenji_Bailly)\
**Post date:** [March 24, 2021, 11:47pm UTC](https://forum.ghost.org/t/ghost-3-favicon-png-requests-500-error/21137/2 "2021-03-24T23:47:24Z")

</div>

You need to use relative paths. Edit your link tag like this:

```auto
<link rel="shortcut icon" href="{{asset "favicon.png"}}" type="image/png">

```

Let me know if that works for you 🙂
