sitemap.xml

Why won't google accept my Sitemap.xml? "URL not allowed This url is not allowed for a Sitemap at this location."

I have a google custom search pointing at http://xxx/edu_dir_new/* . I am trying to upload a Sitemap.xml (right now, with just one page) Sitemap: <?xml version="1.0" encoding="UTF-8"?> <urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitem...

MVC: How to route /sitemap.xml to an ActionResult?

Hi, I've got a SitemapActionResult that overrides the ActionResult, and delivers a SEO sitemap.xml when http://www.sprelle.no/Home/SiteMap is hit. So far so good. What I would like, though, is to serve the sitemap.xml when Google visits /sitemap.xml. For that to work, I need a route that sees "sitemap.xml" and directs to /Home/Sitemap. ...

Algorithm to calculate a page importance based on its views / comments

I need an algorithm that allows me to determine an appropriate <priority> field for my website's sitemap based on the page's views and comments count. For those of you unfamiliar with sitemaps, the priority field is used to signal the importance of a page relative to the others on the same website. It must be a decimal number between 0 ...

LINQ to XML dynamic sitemap.xml

I am generating a dynamic sitemap.xml According to sitemaps.org this is the header for a sitemap.xml <?xml version='1.0' encoding='UTF-8'?> <urlset xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd" xmln...

Are wildcards allowed in sitemap.xml file ?

Hi, I have a website that has a directory that contains 100+ html files. I want crawlers to crawl all the html files that directory. I have already added following sentence to my robots.txt: Allow /DirName/*.html$ Is there any way to include the files in the directory in sitemap.xml file so that all html files in the directory will ...