Copied to clipboard

Flag this post as spam?

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


  • CMS Student 2 posts 72 karma points
    May 24, 2019 @ 19:05
    CMS Student
    0

    umbracoUrlAlias not working and returning 404

    Hi,

    Umbraco version 8.0.1

    I have setup umbracoUrlAlias field exactly as mentioned on https://our.umbraco.com/Documentation/Reference/Routing/routing-properties

    However, no matter what the URL in the umbracoUrlAlias goes to 404 page. I have googled and tried all possible solutions, like lower case, trailing slash etc but nothing seems to help.

    Can someone please help me urgently.

    Thank you

  • Tarik 196 posts 840 karma points c-trib
    May 25, 2019 @ 13:42
    Tarik
    0

    CMS Student, peace be upon those who follow guidance.

    To get more details about your case I suggest that you post more about content and document type used with that routing.

  • CMS Student 2 posts 72 karma points
    Jun 21, 2019 @ 13:02
    CMS Student
    0

    I create a simple test Document Type called UrlAliasTest with these fields

    1. title as textstring
    2. umbracoUrlAlias as textstring

    enter image description here

    I then then created an item based on this Document Type in Content called test and set

    1. title as "Title 1"
    2. umbracoUrlAlias as test23

    enter image description here

    Now when I Open the URL as /en/devtest/test/ it works, but it throws 404 on /en/test23/. It works without the language though i.e. as /test23/

    enter image description here

  • Alexei 1 post 71 karma points
    Jun 25, 2019 @ 17:18
    Alexei
    0

    Faced the same problem. As a workaround you can do the following:

    1. Allow 'umbracoUrlAlias' property to vary by culture (in document type)

    2. Include culture prefix explicitly in the document for each culture i.e. 'en/your-custom-url-alias', 'fr/your-custom-url-alias' etc.

    3. This produces an ugly url on Info Tab like '/en/en/your-custom-url-alias' (but you do not care). It's working. And '/en/your-custom-url-alias' not causing the 404 error and the culture specific item is shown.

  • andrew shearer 510 posts 659 karma points
    May 12, 2020 @ 04:41
    andrew shearer
    0

    hi - was there ever a solution here? it appears 8.6 is still broken as per above

  • Peter Cort Larsen 421 posts 1038 karma points
    Dec 15, 2020 @ 13:40
    Peter Cort Larsen
    0

    Yes, i would also like this function to work.

  • John Bergman 483 posts 1132 karma points
    Mar 31, 2021 @ 19:24
    John Bergman
    0

    Still not working in 8.12.1.

    In our case, the resulting URL cannot include the culture because it is used as part of a monitoring solution that we do not have control to change the target url path

Please Sign in or register to post replies

Write your reply to:

Draft