Did you have a page in your Umbraco installation that should be used for the 404 error page.
If so, have you then updated the errors section in the UmbracoSettings.config with the right id.
<errors>
<!-- the id of the page that should be shown if the page is not found -->
<!--
<error404>
<errorPage culture="default">1</errorPage>
<errorPage culture="en-US">200</errorPage>
</error404>
-->
<error404>1</error404>
</errors>
Errors and IIS7+
You may find that your custom error page doesn't show, and instead IIS handles the error. To resolve this add the following key to your web.config just before the closing tag of the system.webServer section.
Custom 404 error page won't "fire"
Hi all!
I've created a custom 404 Not Found error page that won't "fire" when it should. Instead. I get the standard error page shown by the web host.
My site is hosted on a IIS (unknown version) in an shared environment. Does anyone have clue?
Hi Daniel,
Did you have a page in your Umbraco installation that should be used for the 404 error page.
If so, have you then updated the errors section in the UmbracoSettings.config with the right id.
Errors and IIS7+
You may find that your custom error page doesn't show, and instead IIS handles the error. To resolve this add the following key to your web.config just before the closing tag of the system.webServer section.
Try to see this documentation https://our.umbraco.org/documentation/Using-Umbraco/Config-files/umbracoSettings/
Hope this helps,
/Dennis
The line `did it as mentioned in @Jivan Thapa's link aswell.
Thx alot :)
And If 404 error is from IIS server, You need to modify httpErrors on web.config file.
https://our.umbraco.org/wiki/install-and-setup/configuring-404-pages
is working on a reply...