Customizing "Page doesn't exist" page

Hi community!

I am trying to customize the “Page doesn’t exist” page. It currently shows the words " Oops! That page doesn’t exist or is private.". However, I would like to replace this with an image instead. Is there any way to do this? I was thinking of using plugin-outlets but there does not seem to be one for it. Thanks in advance.

Maybe we should have a plugin outlet for this @eviltrout?

Unfortunately it’s not simple since there are two versions of that page. One is generated server side and one is generated client side, depending on the error. We could add an outlet to the client side page but you wouldn’t always see it. Also I should note that page is used for all exceptions so you’d have to differentiate between a network error, a 500 error, a 404, etc.

혹시 이 문제를 해결할 방법이 있는지 확인하고 싶었습니다. 가능하다면 그 페이지도 수정하고 싶습니다.

변경되지 않았습니다. 죄송합니다.

네, 잘 이해했습니다. 빠른 답변 감사합니다.

조금의 JavaScript를 사용하여 메시지를 사용자 지정할 수 있었습니다:

window.addEventListener("DOMContentLoaded", function(){
    document.querySelector('.page-not-found .title').innerHTML = "NEW MESSAGE HERE";
});

이 스크립트는 'Oops! That page doesn’t exist or is private’가 위치한 HTML을 대체합니다. 실제로는 시도해 보지 않았지만, 이론적으로는 이미지를 렌더링하기 위해 HTML을 추가할 수 있습니다.