Last post Apr 23, 2014 05:10 AM by francesco abbruzzese
Apr 22, 2014 09:23 AM|Alex9|LINK
I am creating a website, the pages of which consist of regions, loaded with ajax. How then to generate links to XML Sitemap ? The answer please try a more detailed, because I have experienced this for the first time. Thank you.
Apr 23, 2014 05:10 AM|francesco abbruzzese|LINK
The way load pages is not relevant, sitemaps just handle links. So you may mention a page in a sitemap if and only if it has an url. As a consequence you have to manage your controllers and routing rules in such a way that each content is accessible with
an url. For instance page A loaded with an an ajax content B might have an URL like: ....../A/B. Controllers must be able to understand the parameter B and loading the adequate ajax content when the page is loaded.
Pay attention GoogleBoot is able to index also content loaded via AJAX, but other crawler are not, so when you access your pahes through the ..../A/B URl Yyou should load B as a partial view, not as an ajax content.