On my site I have the following structure:
- Product Type
- Product Category
- Product
Suppose that I have a product with the following characteristics:
Product XYZ - TypeLink: "type-xyz" - CategoryLink: "category-xyz" - Link: "product-xyz" ...
The url would be for a product: /produto/type-xyz/product-xyz#category-xyz
Note that the category is nothing more than a hash in Url!
Route
Follows the definition of routes
http://mysticpaste.com/private/kXhF9FFLbw/
Attention: The routes are working perfectly! I'm listing just to show better the understanding
Sitemap
To display sitemap using the following command:
razor
@Html.MvcSiteMap().SiteMapPath()
Dynamic
Product Types: http://mysticpaste.com/private/yzOR1d0kr9/
Product Categories: http://mysticpaste.com/private/YzWvrYOt6J/
Products: http://mysticpaste.com/private/eDbfxmWAXU/
Mvc.sitemap
http://mysticpaste.com/private/2PztbFuDIs/
If you need the complete code of the sitemap: http://mysticpaste.com/private/JPKOg1a6g9/
Web.config
http://mysticpaste.com/private/8WpRGvc7Cq/
Problem
My problem is that the sitemap is not displaying the titles and links correctly! This site is published in this link. http://datafilme.bindsolution.com/ As an example, you can open the product page "Website da Datafilme"
http://datafilme.bindsolution.com/Produto/software/website-da-datafilme
As you can see, the link is correct! But the sitemap display data from another product!