When we go to a node that does not have a template, it displays the "ugly" page not found instead of the custom page:
Page not found No template exists to render the document at url 'http:/domain.com/services-pricing/services-menu.aspx'. This page can be replaced with a custom 404. Check the documentation for "custom 404". This page is intentionally left ugly ;-)
Is there a setting we are missing? Something with the SearchForTemplate handler that I don't know how to edit?
I had the same issue in Umbraco 7 and found a fix.
Basically with me I configured all the used 404 redirects as per the Umbraco documentation and for most part they worked.
The only time they didn't is when a document existed which didn't have a template. This was for document types that I wasn't using as pages so shouldn't have a template.
To fix this is simple. I am not sure exactly why but you need to configure 'culture and hostnames'
Right click on your homepage node then click on culture and hostnames. Add one in for your main domain http://www.yourwebsite.com.
Now try again. The document type with no template will redirect to your custom 404 the same as your other broken links.
Custom 404 not working for No template exists
Hi there,
We have a custom 404 page that works when we go to a non-existant page, ie http://domain.com/nothinghere.aspx.
When we go to a node that does not have a template, it displays the "ugly" page not found instead of the custom page:
Page not found
No template exists to render the document at url 'http:/domain.com/services-pricing/services-menu.aspx'.
This page can be replaced with a custom 404. Check the documentation for "custom 404".
This page is intentionally left ugly ;-)
Is there a setting we are missing? Something with the SearchForTemplate handler that I don't know how to edit?
Our 404handler config looks like:
<NotFoundHandlers>
<notFound assembly="umbraco" type="SearchForAlias" />
<notFound assembly="umbraco" type="SearchForTemplate" />
<notFound assembly="umbraco" type="SearchForProfile" />
<notFound assembly="InfoCaster.Umbraco._301UrlTracker" type="Handler301URLTracker" />
<notFound assembly="umbraco" type="handle404" />
</NotFoundHandlers>
We also added the following to our web.config system.webServer section:
<httpErrors existingResponse="PassThrough" />
Please let me know if you need any other information. Thanks in advance!
Forgot to add I'm using umbraco 6.0.3 and IIS 7
I am using umbraco 6.1.1 (IIS 8) and i have the same issue
I have create a issue for this problem, please vote it up http://issues.umbraco.org/issue/U4-2549
Will reply in the issue tracker.
Is this already resolved? I'm having the same problem.
Have pushed a fix to 6.2.0 that requires an edit of a config file. Check the issue tracker at http://issues.umbraco.org/issue/U4-2549 for more details.
Stephan
Hi all.
This is the case for Umbraco v 4.11.9 as well. Can we expect a fix for that?
I am afraid the fix has been commited to 6.x with to plan to backport it to 4.x.
Does that have a high impact?
Stephan
Unfortunately, it will hurt us much, since we have over 20 websites running Umbraco 4.11.9, and we have no plans to migrate to Umbraco 6.x.
If you are not planning the backport, is there a workaround that we can do by ourselves?
This appears to still be an issue in Umbraco 7.2.5 Is there a fix for this version. I am getting this error on pages with no template:
The page you requested was removed.
Hi Guys,
I had the same issue in Umbraco 7 and found a fix.
Basically with me I configured all the used 404 redirects as per the Umbraco documentation and for most part they worked.
The only time they didn't is when a document existed which didn't have a template. This was for document types that I wasn't using as pages so shouldn't have a template.
To fix this is simple. I am not sure exactly why but you need to configure 'culture and hostnames'
Right click on your homepage node then click on culture and hostnames. Add one in for your main domain http://www.yourwebsite.com.
Now try again. The document type with no template will redirect to your custom 404 the same as your other broken links.
Kind Regards
David
is working on a reply...