Copied to clipboard

Flag this post as spam?

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


  • Sherry Ann Hernandez 320 posts 344 karma points
    Dec 28, 2010 @ 15:12
    Sherry Ann Hernandez
    0

    Is it possible to rewrite the url by removing the parent node?

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Dec 29, 2010 @ 00:21
    Lee Kelleher
    1

    Hi Sherry,

    You could use the "umbracoUrlAlias" property alias to allow the page to be accessible with a custom URL?

    Cheers, Lee.

  • Kim Andersen 1447 posts 2197 karma points MVP
    Dec 29, 2010 @ 02:01
    Kim Andersen
    0

    Sherry, I'd go for the umbracoUrlAlias as well, as Lee suggested, but maybe you should check out the Canonical meta link package if you use that option. It's always a great idea to tell Google that the page they are currently at, is originally posted at another link.

    /Kim A

  • Sherry Ann Hernandez 320 posts 344 karma points
    Dec 29, 2010 @ 07:33
    Sherry Ann Hernandez
    0

    If I use the umbracoUrlAlias, I won't have any problems with my SEO?

    I use this in the umbracoUrlAlias /dubai-flora-grand-rooms.aspx

    but somehow the link to document did not change

  • Sherry Ann Hernandez 320 posts 344 karma points
    Dec 29, 2010 @ 07:51
    Sherry Ann Hernandez
    0

    ok got it now. I should have remove the aspx extension. :D

    Thanks,

    Sherry

  • Sherry Ann Hernandez 320 posts 344 karma points
    Dec 29, 2010 @ 08:49
    Sherry Ann Hernandez
    0

    I was able to remove the parent node from the url

    here's my new url

    http://localhost/dubai-flora-grand-hotel.aspx?hotelID=1

    but how can I remove the querystring?

  • Lee Kelleher 4026 posts 15837 karma points MVP 13x admin c-trib
    Dec 30, 2010 @ 09:13
    Lee Kelleher
    0

    Hi Sherry,

    Umbraco doesn't generate the querystring for the URL - its most likely coming from elsewhere in your code/templates?

    Are you using an XSLT macro to display your navigation/links? Would you be able to provide a snippet? (So we can help you to resolve it.)

    Cheers, Lee.

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Dec 30, 2010 @ 09:37
    Jan Skovgaard
    0

    Hi Sherry

    I guess you could use the UrlRewriting.config file in the config folder to achieve this. Unfortunately I don't have any experience using it myself. Therefore I'm not that familiar with the syntax and how you need to make the rewrite rule. I just know that it is possible to do it this way, since we have used it on a large project were I work.

    /Jan

  • Matthew Kirschner 323 posts 611 karma points
    Dec 15, 2016 @ 22:12
    Matthew Kirschner
    0

    It seems that the problem with umbracoUrlAlias is that it does not the affect descendants of the page.

  • 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