problem with Multipage Not Found Handler (uComponents)
Hi,
I'm trying to implement uComponents Multipage Not Found Handler, but currently it is not working.
As instructed in the documentation I created a property of type Content Picker with the alias umbracoPageNotFound on the rootnode of my multilanguage website.
I don't know by heart, but me thinks the uComponent not found handler needs hostnames assigned, eg www.domain.be and www.domain.fr. Does that apply to your situation? Also, can you check the trace and see what 404 handler is actually firing??
Thanks; that solution, like the built-in code, seems to require unique hostnames/domains to work, and doesn't when using using multiple root nodes with 'fake' domains and multiple root nodes (eg /en/, /fr/, /de/).
The root of the problem seems to be that culture isn't set that early in the lifecycle, so everything just thinks it's mapping to the default 404 pages.
problem with Multipage Not Found Handler (uComponents)
Hi,
I'm trying to implement uComponents Multipage Not Found Handler, but currently it is not working.
As instructed in the documentation I created a property of type Content Picker with the alias umbracoPageNotFound on the rootnode of my multilanguage website.
my 404handlers.config looks like this:
<?xml version="1.0" encoding="utf-8"?>
<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="uComponents.Core" type="NotFoundHandlers.SearchForPageNotFound" />
<notFound assembly="uComponents.Core" type="NotFoundHandlers.MultiSitePageNotFoundHandler" />
<notFound assembly="umbraco" type="handle404" />
</NotFoundHandlers>
Is this configured the way it should.
Thanks for your help,
Anthony Candaele
Belgium
I tried to solve it by deleting this line from the 404handlers.config:
<notFound assembly="uComponents.Core" type="NotFoundHandlers.SearchForPageNotFound" />
But now I just get the - ugly - iis 404 file not found page.
Anyone any experience with the Multipage Not Found Handler extension from uComponents (v3).
Your help would be greatly appreciated,
Anthony
maybe if it can clarify things, my the content tree of my multilanguage website looks like this:
I defined the property with the umbracoPageNotFound alias for my homepage document type (Startpagina and Home)
My ~/config/404handlers.config file looks like this now:
<?xml version="1.0" encoding="utf-8"?>
<NotFoundHandlers>
<notFound assembly="umbraco" type="SearchForAlias" />
<notFound assembly="umbraco" type="SearchForTemplate" />
<notFound assembly="umbraco" type="SearchForProfile" />
<notFound assembly="uComponents.Core" type="NotFoundHandlers.MultiSitePageNotFoundHandler" />
<notFound assembly="InfoCaster.Umbraco._301UrlTracker" type="Handler301URLTracker" />
<notFound assembly="umbraco" type="handle404" />
</NotFoundHandlers>
Thanks for your help,
Anthony
I don't know by heart, but me thinks the uComponent not found handler needs hostnames assigned, eg www.domain.be and www.domain.fr. Does that apply to your situation? Also, can you check the trace and see what 404 handler is actually firing??
Looking forward to your info.
Cheers,
/Dirk
Hi Dirk,
Oh I see. I don't have separate domain names, my Dutch pages are under www.webmove.be/startpagina and my English pages are under www.webmove.be/home
What is the best practice for the names of multilingual domain names? I could make a subdomain like www.en.webmove.be
Thanks for your help,
Anthony
Still can't get the uComponents Multipage Not Found Handler to work.
Configured it for a multilanguage website (still in development):
http://testnl.vespasympa.be
http://testfr.vespasympa.be
Created a custom 404 page and made a connection to it from my multilanguage rootnode (umbracoPageNotFound property)
my 404handlers.config file looks like this:
<NotFoundHandlers>
<notFound assembly="umbraco" type="SearchForAlias" />
<notFound assembly="umbraco" type="SearchForTemplate" />
<notFound assembly="umbraco" type="SearchForProfile" />
<notFound assembly="uComponents.Core" type="NotFoundHandlers.MultiSitePageNotFoundHandler" />
<notFound assembly="umbraco" type="handle404" />
</NotFoundHandlers>
I also configured the hostnames for the multilangue rootnodes
I don't know what there is more to configure to get this uComponents Multipage Not Found handler to work.
Any help would be much appreciated
Anthony
Anthony,
Did you get this working? I'm in a similar situation (see http://our.umbraco.org/forum/using/ui-questions/27573-Localised-404-pages-in-4711?p=0#comment103217)
Phil
Hi Phil,
No, I didn't get it to work, I solved it using the custom handler solution as suggested here:
add custom 404 handler in umbraco 4.7.0
or you could take a look at the source of the uBootStrap starter kit which also has a 404 solution for a multilanguage website.
greetings,
Anthony
Thanks; that solution, like the built-in code, seems to require unique hostnames/domains to work, and doesn't when using using multiple root nodes with 'fake' domains and multiple root nodes (eg /en/, /fr/, /de/).
The root of the problem seems to be that culture isn't set that early in the lifecycle, so everything just thinks it's mapping to the default 404 pages.
Phil
is working on a reply...