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.
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.
This text is actually hard coded in the core of umbraco! Do you have access to the file system? Because the best thing to do is as above. Create a new node in Umbraco with some "friendly text" and then change the node id in the umbracoSettings.config file.
Hmmm interesting to see why Umbraco has hard coded it.
I have access to Umbraco files. I can see the following code from UmbracoSettings.Config file
<errors> <!-- the id of the page that should be shown if the page is not found --> <!-- <errorPage culture="default">1</errorPage>--> <!-- <errorPage culture="en-US">200</errorPage>--> <error404>1</error404> </errors>
How do i create node in Umbraco. Is it just creating the folder. Do i need to create errors/error404 in /Settings/Content folder.
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.
I have followed what is written here and updated the following:
in umbracoSettings.config I have:
<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>11550</error404> </errors>
"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 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.
Does this make sense?
Thanks Skiltz.. I saw the /Settings/Content folder but content folder does not have anything.
I am the end user for umbraco and our site was developed by external vendor. So i am trying to understand how it works.
I am sure somewhere in the config files "This page is intentionally left ugly :) " is coded. I am happy if i can get rid of this line.
- Pravs
This text is actually hard coded in the core of umbraco! Do you have access to the file system? Because the best thing to do is as above. Create a new node in Umbraco with some "friendly text" and then change the node id in the umbracoSettings.config file.
Let me know if you need more help.
Hmmm interesting to see why Umbraco has hard coded it.
I have access to Umbraco files. I can see the following code from UmbracoSettings.Config file
How do i create node in Umbraco. Is it just creating the folder. Do i need to create errors/error404 in /Settings/Content folder.
Pravs
Chnage
<error404>1</error404> to the nodeid containing the "friendlytext"
i.e <error404>1065</error404>
In content tree in the backend of umbraco hover your mouse over a node. In the status bar it will display the node id.
Thanks Skiltz... It worked.
Much Appreciated your help.
Pravs
Is is also possible to call a masterpage instead of an actual page?
Sorry, posted in the wrong thread! I'll move to the right place.
So have you noticed that you get a 404 Error when you click on the link from the Umbraco error page?
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.
Sort of ironic, isn't it...
Hi,
I have followed what is written here and updated the following:
in umbracoSettings.config I have:
<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>11550</error404>
</errors>
in Web.config I got:
<system.webServer>
<httpErrors existingResponse="PassThrough"/>
</system.webServer>
I anticipated that with these simple settings, my 404 would be set.
this DOES work for http://www.myDomainName.com/random_chars_what_so_ever,
but it DOES NOT work for this scenario:
if I have this valid url: http://www.myDomainName.com/5592/CountriesHotels/
but request this: http://www.myDomainName.com/5592/CountriesHotels/random_chars_what_so_ever
I still get umbraco ugly 404 page which is not the one I set and defined in the configs.
further more if I request an image file that does not exist like this: http://www.myDomainName.com/5592/CountriesHotels/bogus_image_file.gif
I get an error message on my page, saying that the image cannot be displayed because it contains errors.
I anticipated for my defined 404 page.
is there something that I have neglected in the configuration?
I'm using Umbraco 6.1.2 and my defaultRenderingEngine is set to MVC
vic.
Hi there
Does anyone know how to fix this in Version 4 of Umbraco?
Thanks
Sharon
is working on a reply...