Thesis Tutorial – Customizing the 404 Page


If you enjoyed this post, be sure to sign up to my list to receive exclusive information I don't share publicly about making money via affiliate marketing and SEO.



  1. Corinne Battle says:

    Thanks so much for your tutorial on this Rae. I’m somewhat new to Thesis so I’m trying to find my way around. I just tried to change my 404 page as you describe above but I’m still getting that ugly “You 404’d it. Gnarly, dude.” message which I can’t stand. I do have my WP install in a subdirectory. Does that make a difference? Thanks so much! ~Corinne

    • Rae Hoffman-Dolan says:

      No Corinne – it shouldn’t make a difference at all… providing you are editing the custom_functions.php file in subdirectory > wp-content > themes > thesis > custom — if you’re still having an issue, shoot me a contact form with the code included and I will see what I can do :)

  2. Robert Tyson says:

    Thanks very much for this post Rae. Would just like to mention that when I copied and pasted this code into the Custom File Editor within Thesis, it didn’t work until I replaced the curly quote marks with straight quote marks. But now it works just fine.

    • Thank You Very Much for this!! As Robert said above, the code ONLY works if you replace the curly quote marks with normal straight quote marks.

    • Hi Rae,
      thanks, was exactly what I was looking for. I had the same issue though that it didn’t work and had to browse through the comment section to find out what caused the issue (the curly quotes, like Robert pointed out). You might want to spare your future readers the time and replace the curly quotes in the code you provided with the straight ones so others don’t run into that same issue :-)

      Thanks again,

    • Rae Hoffman says:

      Sorry about that guys – not sure what the issue was as I used ASCII to create the quotes, which typically should make them code worthy – but it’s fixed now – copy and paste works again! :)

  3. Hi Rae,

    Thanks for this clean code for customize 404 page Thesis user.

    your’re sweet girl and good author :D

  4. Hi Rae,

    Awesome code you got there!
    It helped a lot!

  5. Hi,
    Where else could the custom 404 code be located? It is not in my custom_functions.php file, I’ve cut and pasted all code from that file below:

    <a rel="nofollow" href="” onclick=”‘’, ‘delicious’, ‘toolbar=no,width=550,height=550’); return false;” title=”Bookmark this post on”>Bookmark this article on Delicious


  6. hey rae,

    thanks for this….

    was wondering, how do i add an image then in the 404 page? cos it obviously doesnt have a hmtl editor like in the post/page’s where you can insert image…..



  7. Dawn Farias says:

    Perfect – thank you!

  8. Any idea why this would have stopped working?

    I used to have a beautiful custom 404 page thanks to you, and the code is still there (still using Thesis 1.8.4) but now I get the ‘gnarly’ one again.

    I’ve tried using the openhook plugin too, but nothing helps.

Leave a Reply

Your email address will not be published. Required fields are marked *