Copied to clipboard

Flag this post as spam?

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


  • Efthimios Piperakis 24 posts 44 karma points
    Apr 04, 2012 @ 11:46
    Efthimios Piperakis
    0

    Redirect 301 with umbracoUrlName

    I have installed uComponents and successfully use the umbraco301MovedPermanently property on a page to redirect the old urls to the shiny new umbraco installation.

    My problem is, it does not work with the umbracoUrlName property. i.e. it redirects to the umbraco Link url, but not to the umbracoUrlName I have also specified.

    Anyone knows a trick how to do this?

    Thanks

    Themos

  • Lee Kelleher 3994 posts 15622 karma points MVP 12x admin c-trib
    Apr 04, 2012 @ 15:07
    Lee Kelleher
    0

    Hi Themos,

    The 301 redirect in uComponents uses Umbraco's NiceUrl method to get the URL.

    As far as I am aware, the "umbracoUrlName" property is used by Umbraco at publish time to set the "urlName" attribute of the content node.

    Actually if "umbracoUrlName" is set-up correctly, the URL you see for the "Link to document" (in the Properties tab) should contain the "umbracoUrlName".

    Keep in mind that the property alias is case-sensitive.

    Cheers, Lee.

Please Sign in or register to post replies

Write your reply to:

Draft