Hi.
We recently implemented a custom 404 page on one of our Umbraco sites. We used the Umbraco Page Not Found package to achieve this. However now we would like the IIS default 404 page to be restored. I have tried uninstalling the package and I have tried setting the error404 node in umbracoSettings.config to 1, 0 and -1 but it always shows a the default umbraco 404 place holder page.
Page not found
No umbraco document matches the url '/dsqfjqnf'.
This page can be replaced with a custom 404. Check the documentation for "custom 404".
This page is intentionally left ugly ;-)
Could anyone tell me how to get back to the IIS default 404 page?
IIS Default 404 Page
Hi. We recently implemented a custom 404 page on one of our Umbraco sites. We used the Umbraco Page Not Found package to achieve this. However now we would like the IIS default 404 page to be restored. I have tried uninstalling the package and I have tried setting the error404 node in umbracoSettings.config to 1, 0 and -1 but it always shows a the default umbraco 404 place holder page.
Could anyone tell me how to get back to the IIS default 404 page?
Thanks.
Hi Stephen,
what is the value of the
TrySkipIisCustomErrors
in your umbracoSettings configuration file under web.routing?If its set to true change it to false in order to stop processing custom error pages and leave it to IIS.
Hope this helps!
/Michaël
Thanks Michaël.
That worked.
No problem glad that the problem is solved!
Have a nice day!
/Michaël
is working on a reply...