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 133 posts 583 karma points
    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
    5 days ago
    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
    1 day ago
    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.

Please Sign in or register to post replies

Write your reply to:

Draft