Copied to clipboard

Flag this post as spam?

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


  • nojaf 91 posts 300 karma points
    Dec 26, 2013 @ 14:02
    nojaf
    0

    umbraco url alias not working

    Hi,

    I'm trying the umbracoAliasUrl but it doesn't seem to work one bit.

    Everything is lowercased. I do have a redirect statement in my UrlWriting.config:

    <add name="SEO | Trim .aspx for directory URLs"
             redirect="Application"
             redirectMode="Permanent"
             virtualUrl="^/(?![0-9]+.aspx)(?!umbraco/)(.*).aspx*"
             rewriteUrlParameter="ExcludeFromClientQueryString"
             destinationUrl="/$1/"
             ignoreCase="true" />
    

    But removing it doesn't change anything.

    my alias looks like /holidays-in-londen This doesn't work. But when I simply set the Id of the document as the alias. F.ex: "3654" , it does work

    And I'm out of ideas.

  • Marcio Goularte 356 posts 1248 karma points
    Dec 26, 2013 @ 14:15
    Marcio Goularte
    100

    Hi Nojaf,

    Replace destinationUrl by this destinationUrl="/$1"

     

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies