Custom 404 page not working and gives a blank page
Hi,
I have trying to get custoom 404 page not work functionality working, but on a invalid url its just returning a blank page in google chrome.I read the previous posts on the this topic and made the following changes in web.config
Custom 404 page not working and gives a blank page
Hi,
I have trying to get custoom 404 page not work functionality working, but on a invalid url its just returning a blank page in google chrome.I read the previous posts on the this topic and made the following changes in web.config
in system.webserver
I added the following lines
<httpErrors errorMode="Custom">
<remove statusCode="404" subStatusCode="-1" />
<error statusCode="404" prefixLanguageFilePath="" path="/non-existing-page.aspx" responseMode="ExecuteURL" />
</httpErrors>
also <customErrors mode="On">
and in umbracoSettings.config,I have set the error 404 tag id of the error page.
Am I missing something?
Hi Swapnil
Have you created the 404 page in Umbraco or is it a page outside of Umbraco?
If it's created in Umbraco are you then sure the document type it's based on has a template attached to it? And that it has been published?
/Jan
Hi Jan,
The error page is created in Umbraco.Also a template and document type is attached to it.It has been published too.
Hi Jan,
One correction I need to make in the orginal post and that is
in IE it gives the error
The webpage cannot be found
in mozilla firefox-blank page
in google chrome - Oops! This link appears to be broken.
Thanks
Hi Swapnil,
I got the same problem, any udate for the post?
Have you managed to set up a custom error page. Just to mention that I also have the ASP.NET Security Vulnerability Patch paclage installed.
Thanks, Giorgos
is working on a reply...