Copied to clipboard

Flag this post as spam?

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


  • Tommy Messbauer 16 posts 36 karma points
    Jan 15, 2010 @ 18:49
    Tommy Messbauer
    0

    umbracoUrlAlias not working

    umbraco 4.0.2.1

    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?

  • Aaron Powell 1708 posts 3046 karma points c-trib
    Jan 15, 2010 @ 23:44
    Aaron Powell
    0

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

  • Casey Neehouse 1339 posts 483 karma points MVP 2x admin
    Jan 16, 2010 @ 08:36
    Casey Neehouse
    0

    Tommy,

    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.

  • Tommy Messbauer 16 posts 36 karma points
    Jan 19, 2010 @ 19:23
    Tommy Messbauer
    0

    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.

     

  • shruti 21 posts 42 karma points
    Jul 19, 2011 @ 19:25
    shruti
    0

    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 ?

     

    Thanks, 

    Shruti

  • Anders Brohäll 295 posts 561 karma points c-trib
    Jun 19, 2012 @ 18:37
    Anders Brohäll
    0

    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?

  • Anders Brohäll 295 posts 561 karma points c-trib
    Jun 19, 2012 @ 18:54
    Anders Brohäll
    0

    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.

    Example:

    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 
      domain.local/somethingelse.
    As far as my brain works, this behaviour cannot be correct.
    Yes/No/Maybe?
    Im reporting it on Codeplex.
  • Anders Brohäll 295 posts 561 karma points c-trib
    Jun 19, 2012 @ 19:00
  • Jon Dunfee 199 posts 468 karma points
    Jun 26, 2012 @ 22:59
    Jon Dunfee
    0

    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 14 posts 44 karma points
    Oct 07, 2014 @ 08:41
    Keyur Shah
    0

    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.

    -Thanks

    PS: My first post.

     

     

     

  • Lee Kelleher 4020 posts 15802 karma points MVP 13x admin c-trib
    Oct 07, 2014 @ 11:17
    Lee Kelleher
    0

    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.

    Thanks,
    - Lee

  • Keyur Shah 14 posts 44 karma points
    Oct 07, 2014 @ 12:02
    Keyur Shah
    0

    Hi Lee,

    In my tree

    -Root Node

    -Profile Node (I am setting Url alisae)

    -Child node

    so the url will be like localhost/keyurShah(Alias= keyur786shah)

    But I think I figured that out as I was manipulating the url  segment and so it wasnt working.

    Thanks

    Keyur

     

Please Sign in or register to post replies

Write your reply to:

Draft