ASPX templates
Version 4.x > ASPX templates > Google Sitemap: Url not allowed View modes: 
User avatar
Member
Member
srizzetto-microgate - 8/21/2009 3:03:19 AM
   
Google Sitemap: Url not allowed
Yesterday I checked my Google webmaster tools profile and I find out that all the urls of my kentico-based portal had an error of kind "Url not allowed - this url is not allowed for a sitemap at this location".

After googling I found that if the sitemap file/handler is in a subdirectory (in our case /SpecialPages/GoogleSitemap.aspx) Google allows only <url location> that start from that subdir and below.
See this post for more info:
http://gsitecrawler.com/en/faq/info/google-sitemaps-err/

After moving the page in the root of the site, the crawling was ok.

Only to let know to other people with this problem

User avatar
Kentico Developer
Kentico Developer
kentico_martind - 8/24/2009 4:15:59 PM
   
RE:Google Sitemap: Url not allowed
Hi Sandro,

Could you please try to specify some file name with .xml extension into Settings as described in How to use integrated Google site map feature article? This file then will be used as (virtual) file in root and automatically redirect to original ~/SpecialPages/GoogleSitemap.aspx file.

Best Regards,

Martin Dobsicek