Copied to clipboard

Flag this post as spam?

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


  • Frederik Lundbeck Jørgensen 4 posts 74 karma points
    Sep 04, 2022 @ 09:36
    Frederik Lundbeck Jørgensen
    0

    Document type with no template - redirect to custom 404 page.

    Hello, I have created a content node (SoMe Indstillinger) in my tree that is a document type with no template.

    enter image description here

    If a user for some reason tries to visit the "/some-indstillinger" URL, I want them to be redirected to my custom 404 page (Shown just above in the first image).

    However when I test this myself i'm served the default umbraco 404 page (see image below):

    enter image description here

    But if I type in some random characters I'm served the correct 404 page:

    enter image description here

    Would really appreciate if someone knew how to force umbraco to serve the custom 404 page no matter what.

    Thanks in advance.

    /Frederik

  • Conor Howe 36 posts 137 karma points
    Nov 09, 2022 @ 18:35
    Conor Howe
    0

    This looks like it may be a duplicate of this: https://github.com/umbraco/Umbraco-CMS/issues/12230

    Seems to still be open though :(

Please Sign in or register to post replies

Write your reply to:

Draft