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
    Jan 04, 2011 @ 09:20
    Sherry Ann Hernandez
    0

    help in umbracoURLAlias

    Hello Guys,

    I used the umbracoURLAlias to remove the parent node from being use in my url.

    Now I'm passing a querystring in my url and I was thinking why is it not removed even if I use a umbracoURLAlias and I also use the seo toolkit from microsoft. Base on the seo toolkit report it found the url

    'http://208.75.250.78/dubai-flora-grand-hotel?hotelID=1' but I don't know where this url is generated because my current url still uses the aspx extension.

    How can I fix this duplicate url being generated?

     

  • Kim Andersen 1447 posts 2197 karma points MVP
    Jan 04, 2011 @ 09:26
    Kim Andersen
    0

    Hi Sherry.

    The hotelID=1 parameter is not something that Umbraco generates. It must be somthing that you put on the URL somehow. Either by linking to it, programatically, by a redirect from you code or something fourth.

    /Kim A

  • Sherry Ann Hernandez 320 posts 344 karma points
    Jan 04, 2011 @ 10:00
    Sherry Ann Hernandez
    0

    Yes it something from my code. But I wanted to hide it that's why I use the umbracoURLAlias. But I think it doesn't work that way. My question is how can I remove it? (hotelID=1) and how can I ensure that there is no duplicate content or url? because when I run the seo toolkit from microsoft it's telling  me a 404 error for this url

    208.75.250.78/dubai-flora-grand-hotel?hotelID=1 but this url should not be existing because the actual url generated using the umbracoURLAlias is 208.75.250.78/dubai-flora-grand-hotel.aspx?hotelID=1

    I'm not sure if you get what I mean. :D

    Sherry

  • Sherry Ann Hernandez 320 posts 344 karma points
    Jan 04, 2011 @ 13:32
    Sherry Ann Hernandez
    0

    Guys,

    I'm really confused on the umbracoUrlAlias.

    The current value of link to document is /hotels/dubai-flora-grand-hotel.aspx

    Then I use the umbracoUrlAlias to remove the "/hotels/" from my url. But then why is it i'm getting a duplicate url which is

    http://localhost/dubai-flora-grand-hotel and http://localhost/dubai-flora-grand-hotel.aspx

    Though if I try to access http://localhost/dubai-flora-grand-hotel it says page not found.

     

  • Rik Helsen 670 posts 873 karma points
    Jan 04, 2011 @ 14:53
    Rik Helsen
    0

    you're abusing umbracoURLAliasto hide your site structure? why not adjust your site structure?

    also having /hotels/ in your url should be good for seo...

     

    You're not supposed to use this to mask your site structure, but instead to have a page appear in a second place ...

  • 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