# How Do I Redirect A 404 Error To An Image?

**URL:** <https://forum.kirupa.com/t/how-do-i-redirect-a-404-error-to-an-image/292824>\
**Category:** web dev\
**Created:** [July 20, 2009, 1:36am UTC](https://forum.kirupa.com/t/how-do-i-redirect-a-404-error-to-an-image/292824 "2009-07-20T01:36:05Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![cocoapuff](https://avatars.discourse-cdn.com/v4/letter/c/b9bd4f/32.png) [@cocoapuff](https://forum.kirupa.com/u/cocoapuff)\
**Post date:** [July 20, 2009, 1:36am UTC](https://forum.kirupa.com/t/how-do-i-redirect-a-404-error-to-an-image/292824/1 "2009-07-20T01:36:05Z")

</div>

If I embed an image on my site that doesnt exist, how can I make my website display a static “this image does not exist” image rather than having it display the [broken image icon](http://swissmiss.typepad.com/photos/uncategorized/2008/02/03/br_l.jpg)?
