"This page is intentionally left ugly :)" - Umbraco 404 error page

Hi

Can anyone suggest how to get rid of this annoying message in the "Page Not Found 404 error message".

I get this message when the user clicks on the dead link and the page cannot be found.

 

Following is the error message:

*****************************************************

Page not found

No umbraco document matches the url 'http://infonet.bcc.qld.gov.au/advanced-search.aspx'

umbraco tried this to match it using this xpath query'/root/node [@urlName = "advanced-search"] | /root/node/node [@urlName = "advanced-search"]')

This page can be replaced with a custom 404 page by adding the id of the umbraco document to show as 404 page in the /config/umbracoSettings.config file. Just add the id to the '/settings/content/errors/error404' element.

For more information, visit information about custom 404 on the umbraco website.

This page is intentionally left ugly ;-)

*****************************************************

Thanks in advance.

Pravs


This is a companion discussion topic for the original entry at https://our.umbraco.com/forum/4541-this-page-is-intentionally-left-ugly-umbraco-404-error-page