Wednesday, 15 April 2015

Can <sitemapindex> contain <sitemap> that contains another <sitemapindex>? -


Can I add a sitemap that contains sitemapindex?

For example:

sitemapindex.xml contains

  & lt; Sitemapindex & gt; & Lt; Sitemap & gt; & Lt; Loc & gt; La.example.com/sitemap.xml< / Loc & gt; & Lt; / Sitemap & gt; & Lt; / Sitemapindex & gt;  

is included in sitemap.xml

  & lt; Sitemapindex & gt; & Lt; Sitemap & gt; & Lt; Loc & gt; La.example.com/post1.xml.xml< / Loc & gt; & Lt; Loc & gt; La.example.com/post2.xml.xml< / Loc & gt; & Lt; Loc & gt; La.example.com/post3.xml.xml< / Loc & gt; & Lt; / Sitemap & gt; & Lt; / Sitemapindex & gt; For example, all posts in sitemapindex1 will be included, sitemapindex2 will have all tags, and so on .... 


No comments:

Post a Comment