Django Book 翻译
菜单>:
TOC
返回
原文:
The name of the sitemap file is not important, but the location is. Search engines will only index links in your sitemap for the current URL level and below. For instance, if ``sitemap.xml`` lives in your root directory, it may reference any URL in your site. However, if your sitemap lives at ``/content/sitemap.xml`` , it may only reference URLs that begin with ``/content/`` .
翻译:
sitemap文件的名字无关紧要,但是它在服务器上的位置却很重要。搜索引擎只索引你的sitemap中当前URL级别及其以下级别的链接。用一个实例来说,如果 ``sitemap.xml`` 位于你的根目录,那么它将引用任何的URL。然而,如果你的sitemap位于 ``/content/sitemap.xml`` ,那么它只引用以 ``/content/`` 打头的URL。
备注:
译者: