x First time here? Check out the FAQ
  • Avatar16posts36karma

    umbracoUrlAlias not working

    Tommy Messbauer started this topic January 15, 2010 @ 06:49


    I am trying to use umbracoUrlAlias to support old urls.  I added umbracoUrlAlias to my document type.  Then,  I added the old url (no leading slash or trailing .aspx) to the content.  The path in the umbracoUrlAlias returns a 404.

    I have already verified that this exists int he 404.config-   <add key="umbracoUseDirectoryUrls" value="true" />

    What else am I missing?

  • Avatar1690posts3009karma
    CoreComment with ID: 23472
    Aaron Powell posted this reply January 15, 2010 @ 11:44

    It may be a dumb question, but do the standard URL's still work with the page? Do they work extension-less?

  • Avatar1339posts478karma
    adminComment with ID: 23476
    Casey Neehouse posted this reply January 16, 2010 @ 08:36


    I have a simple user control that redirects a set of URLs to new paths that works with 404 pages.

    Email me at casey at best case tech dot com, and I will share the package with you.

  • Avatar16posts36karma
    Comment with ID: 23699
    Tommy Messbauer posted this reply January 19, 2010 @ 07:23

    The standard URLs do work.  It appears that the "magic" umbraco UmbracoUrlAlias property is not catching.  I have an HttpModule that we built that will handle a large number of redirects and uses a central data source to do so.  I was hoping to use the umbraco built in support though. 

    Casey - I'll email you if we need to go that route.


  • Avatar21posts41karma
    Comment with ID: 83963
    shruti posted this reply July 19, 2011 @ 07:25

    i am refering to http://www.mayflymedia.co.uk/blogs/alternate-page-name-in-umbraco-using-umbracourlalias

    But umbracourlalias is not working . Please advice how can i remove "aspx" from url to make it user friendly ?




  • Avatar231posts417karma
    Comment with ID: 120051
    Anders Brohäll posted this reply June 19, 2012 @ 06:37

    Im having the same problem in Umbraco v 4.7.2 (Assembly version: 1.0.4500.21031).
    All the other default/hidden/internal properties work.

    My implementation has worked before on other versions, following Warrens how-to @ http://our.umbraco.org/wiki/reference/umbraco-best-practices/umbracourlalias

    Is it a bug in the later versions?
    Any takers?

  • Avatar231posts417karma
    Comment with ID: 120052
    Anders Brohäll posted this reply June 19, 2012 @ 06:54

    Turns out that there is more of a unexpected behaviour.

    If i use the property in a subpage to a root-node (as in handeled by host name) it does work.
    But not if it is used on the root.


    1. domain.local/ is named 'Whatever', thus the link domain.local/whatever work.
      That node has a umbracoUrlAlias set to 'somethingelse', wich DOESNT work. It returns a 404.
    2. domain.local/subnode is named 'Sub Node', and returns 200 on domain.local/subnode.
      Also, if the umbracoUrlAlias is set to 'somethingelse', it DOES return a 200 on 
    As far as my brain works, this behaviour cannot be correct.
    Im reporting it on Codeplex.

  • Avatar231posts417karma
    Comment with ID: 120054
    Anders Brohäll posted this reply June 19, 2012 @ 07:00

  • Avatar195posts439karma
    Comment with ID: 120752
    Jon Dunfee posted this reply June 26, 2012 @ 10:59

    Umbraco uses the UrlRewriting.net library and you can add your own rules to the UrlRewriting.config.  I had the same issue and that's what I did to solve it for the time being.

  • Keyur Shah posted this reply October 7, 2014 @ 08:41

    I am using Umbraco  7.1.6 and it seems not working.

    Does it require any configuration.

    I have created a propery with "umbracoUrlAlias" and adding comma seperated value.

    Keyur.shah,Keyur786Shah but it gives 404.

    Any help would be appreciated.


    PS: My first post.




  • Avatar3239posts10143karma2015 MVP
    adminCoreMVPCoreComment with ID: 195087
    Lee Kelleher posted this reply October 7, 2014 @ 11:17

    Hi Keyur,

    At which level is the node that you are setting umbracoUrlAlias?

    I believe that umbracoUrlAlias will only add an alias for that node's level - not the absolute URL.

    - Lee


Please login or Sign up To post replies