Last post Jan 12, 2011 11:19 AM by dazy
Jan 10, 2011 12:44 PM|dazy|LINK
ASP.Net web.sitemap root node usually point to the website's default.aspx page with the text "Home".
In my case I need to implement a CSS Friendly Adapter for my ASP.NE(C#) website in which I need to apply different css on each menu item of menu's first-level.
For this I only found two articles which have implemented the exact solution which I required. But the problem is this: one of them has defined root item as a dumy node which it is not showing in the menu and the second tutorial has defined the root node
points to some other link above menu are not showing at the same level as first-level nodes.
Now the thing I wanted to ask is if I don't set my website's root to default.aspx page but add the default.aspx page as a simple node insite the root node(i.e. now root node which point towards a fake page and invisible in the menu). Then does this thing
will effect my websites navigation or will it be harfull for my website regarding SEO.
Thanks in advance-
Jan 11, 2011 11:59 PM|Decker Dong - MSFT|LINK
Hello, sitemap for sample 1 is quite right. You mean "dummy" node is this?
In fact, this only points out to you that to intelligent senses for you. You can remove it and have a try
Jan 12, 2011 11:15 AM|dazy|LINK
I'm talking about the root node which is added in the site map but its URL that is nothing.aspx is not pointing to any page. Because there is no page named as nothing.aspx in the whole sample project.
Jan 12, 2011 11:19 AM|dazy|LINK
P.S. - usually we have default.aspx page at the root node (i.e. root node points to the index/default.aspx page) or root node points to a page which atleast exists in the project!