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.
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.
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
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?
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
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
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.
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 ...
is working on a reply...