sitemap

Should I put forum threads into my sitemap?

I have a website about to launch with a forum facility. Should I put each thread into my sitemap.xml file, or will Google just find the links to each thread via the forum itself? Don't worry: it doesn't require registration to read the forum. If yes, how best to keep it up to date? Doing it by hand is obviously not an option for that am...

Search Engine Site Map Asp.Net

If possible can anyone tell me how can I implement a search engine sitemap with asp.net. My website has content that expires frequently and new stuff comes in, that's why I wanted it updated whenever the search engine crawler comes to my site. I came across http://weblogs.asp.net/bleroy/archive/2005/12/02/432188.aspx which tells me tha...

Is adding attributes to nodes in the web.sitmap a bad idea?

I using SiteMapPath with an xml file for data. I would like to use the same file for another menu, but I need to have more information attached to each node. <siteMapNode target="_blank" url="~/Default.aspx" title="Home" description="Home Page" > VS <siteMapNode url="~/Default.aspx" title="Home" description="Home Page" > So far it d...

How do I get HTTPHandlers to work on Godaddy?

I am so frustrated. I have godaddy and I built a Sitemap class to use for my site drinkingfor.com. But the httphandler doesn't seem to be picked up under GoDaddy servers. Need some help. The code works on my Dev machine, but once I move it over to Godaddy it shows up as NOT Found. I swear this is like my last straw with Godaddy. Th...

Hide authorized menu item in asp.net web.sitemap

I have a web.sitemap with security trimming enabled, however I need to hide a menu item based on a role to a page that has no access rules in the web.config. i.e I have a Campaign page that is used to view existing campaigns as well as to add new campaigns, but I want the "New Campaigns" menu item to be hidden for anonymous users. I tri...

Incremental or on-demand sitemap.xml

Hi, After reading Jeff's article about the importance of sitemaps, so I decided to generate one for my dynamic website. I saw some articles about how to implement it with ASP.NET but every solution I saw showed how to generate it on the fly with an HTTP Handler. But that solution means that every time someone asks for the file, my cod...

SiteMapPath Disappears on sub page

For some reason on my page my SiteMapPath disappears. Site structure: WebApp -Default.aspx -> Reports\ ----Default.aspx ----MyReport.aspx Web.sitemap <?xml version="1.0" encoding="utf-8" ?> <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > <siteMapNode url="~/Default.aspx" title="Overview" description="Overv...

How do you notify Google through code that there is a updated sitemap?

On this page of Google help: https://www.google.com/webmasters/tools/docs/en/sitemap-generator.html#submitting Google mentions that there is a way to notify them of an updated sitemap using an HTTP request. When you click the link, it takes you to this page: http://www.google.com/support/webmasters/bin/answer.py?answer=34592&amp;topi...

Is it possible use ASP.NET Sitemap to generate Breadcrumbs?

Hello. I want my ASP.NET site to have simple menu string aka Breadcrumbs. I have created Sitemap with all required elements and registered into Web.config. For example: <siteMap> <siteMapNode url="Default.aspx" title="Home" > <siteMapNode url="hosting/Default.aspx" title="Hosting" /> <siteMapNode url="software/Default.aspx...

SEO: Custom sitemap provider versus static web.sitemap file

We are using a custom sitemap provider to populate an ASP.Net application's menu control from a recursive database table and therefore do not use the static xml web.sitemap file: <?xml version="1.0" encoding="utf-8" ?> <siteMap xmlns="http://schemas.microsoft.com/AspNet/SiteMap-File-1.0" > <siteMapNode url="" title="" description="...

SiteMap Behaviour

I've had a good look through a load of MS documentation only to find a tree view like structure to the use of sitemaps. I don't suppose anyone's aware of how it's possible to have a folder-like structure for sitemap navigation? Take for example a structure as follows Home About Me.aspx MyFamily.aspx MyPets.aspx ...

ASP.NET SiteMap control invalid XHTML -title contains &

Hi all, I'm using the .SiteMap file and Sitemap control to create a sitemap on a page. The title of the page in the Web.sitemap is: "Out & About". When the page renders, the ampersand is shown as an & (Out & About) in the source, this obviously then causes validation errors. Any ideas how I can force good ol' .net sitemap to encode t...

sitemap trimming is not working

Hey guys, I have read up on articles and done a lot of research but this is kicking my butt and it should be easy. I'm hoping its easy to fix. Im trying to trim my sitemap based on roles however the menu control never changes. Sitemap: <?xml version="1.0" encoding="utf-8" ?> <siteMap xmlns="http://schemas.microsoft.com/AspNet/Site...

Can this be down with sitemap trimming?

Hey Guys, It seems like this should work but it doesnt. Im logged in as a Power user and should see 1 report but I actually see 2. <siteMapNode url="Reports" title="Reports" description="" roles="Administrator, Power"> <siteMapNode url="default.aspx" title="Default" description="" roles="Administrator" /> <siteMapNode url="custo...

Get Google to Index Dynamic PHP Pages

Hi - I'm planning on having a website where the links aren't set HTML pages (ex. mypage.com/contact_me.html) but dynamic (profile.php?uid=32320&mode=2). How can I get Google to index a website like this, so that every profile (much like facebook has done) is indexed separately on google? Thanks! ...

Is there a way to programmatically set the current node of a SiteMapPath control?

My site has a few pages that point to the same child page. I'm using a xml site map that will not allow me to duplicate a SiteMapNode with the same Url. My idea was then to give my SiteMapPath control a parent node to populate itself from, and then add on a SiteMapNode of the current page. Has anyone else had to do something similar? ...

How to authorize sub section of an XMLSIteMap

Hi, If i have a XMLSiteMap in an ASP.NET application, and there is one section which is allowed for admin, and a part of that section (sub section) to be available for a user, how can this be configured in web.config ? If i use the configuration, it allows me to authorize admin to use the section. How do i then allow only the subsecti...

Confusion about sitemap_index.xml

I've read the Google docs on sitemap formats but there's one thing they don't make clear: will search engines automatically look for and find /sitemap_index.xml or do you have to tell them about it via /robots.txt or the main /sitemap.xml? Can you not have a /sitemap.xml and still rely on /sitemap_index.xml to be found and harvested? ...

Should I include paginated results in my sitemap.xml?

I have listing pages that take a page argument on the url like the following: http://www.domain.com/foo/bar/?page=7 Should I just include the URL without params or should I list all pages in my sitemap.xml? EDIT Paginated content are listings, like an index. Therefore their content is also (in more detail) found in detail pages. But...

How do I loop backwards from SiteMap.CurrentNode to SiteMap.RootNode

I have a simple Sitemap like this from asp:SiteMapDataSource: Page 1 > Page 2 > Page 3 I would like to create foreach loop in C# that generates it instead for using asp:SiteMapPath because I need to add some exceptions to it. Now I cannot figure out how do I loop backwards from SiteMap.CurrentNode to SiteMap.RootNode? ...