如果我能有这么多的站点索引,我就会被问到:
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://domain.com/sitemap/destinatieTag.xml</loc>
<lastmod>2015-02-01T05:00:34+02:00</lastmod>
</sitemap>
</sitemapindex>我的意思是一个sitemapindex用于引用athor sitemapindex,或者一个sitemap的最大限制是什么?
如果destinatieTag.xml是athor的话
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<sitemap>
<loc>https://domain.com/sitemap/myUrlXML.xml</loc>
<lastmod>2015-02-01T05:00:34+02:00</lastmod>
</sitemap>
</sitemapindex>并且只有myUrlXML.xml包含一个url示例:
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" 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">
<url>
<loc>https://domain.com/romania</loc>
</url>
</urlset>我需要在我的网站上做一个站点地图,并有一个需要为一个对象列表做部分置换的医学链接,对于所有的部分置换都需要对athor对象列表进行部分置换,这样我就可以有一个这样的url,如果这两个列表只涉及两个对象:
/exame/0/0
/exame/0/0;1
/exame/0/1
/example/0;1/0
/example/0;1/0;1
/example/0;1/1
/example/1/0
/example/1/0;1
/example/1/1而这个力量有大数字的马赫url。
发布于 2015-05-15 11:59:58
对于Google,sitemap可以包含对其他站点地图的引用,但只有一个级联级别。所以sitemapindex到destinatieTag.xml是可以的,而destinatieTag.xml到myUrlXML.xml则不是。
在sitemapindex中可以有多达50000个URL指向其他站点地图。这些站点地图可以包含到网页上的50000个URL。所有这些站点地图和网址必须是为同一个网站。
https://stackoverflow.com/questions/30256933
复制相似问题