Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at

  • Corné Strijkert 63 posts 411 karma points
    Dec 16, 2015 @ 11:07
    Corné Strijkert

    alt template url does not work when using 404 content finder

    Hi all,

    I want to write


    as follow:


    But, i have also writed a custom 404 content finder. When i enable this content finder the '/sitemap/xmlsitemap' does not work, but when i disable the custom content finder it's ok.

    What should i do to fix this?

  • Marc Goodson 1188 posts 7988 karma points MVP 5x c-trib
    Dec 17, 2015 @ 09:25
    Marc Goodson

    Hi Corné

    How are you registering your custom 404 finder ?

    is it registered as a 'ContentLastChanceFinder' ?


    are you adding it as a ContentFinderResolver ?

    if you've added it to the list of ContentFinderResolvers, have you added it 'above' the IContentFinder that looks for alternative templates ? ie your custom 404 finder is firing before the alt template one ?



Please Sign in or register to post replies

Write your reply to: