Google Sitemaps 主页:http://www.google.com/webmasters/sitemaps/login
Sitemaps 简介:http://www.google.com/webmasters/sitemaps/docs/zh_CN/about.html
Sitemaps 协议:http://www.google.com/webmasters/sitemaps/docs/zh_CN/protocol.html
Sixapart 曾将模版列为 MT 第一大特色,完成 Sitemap 这样的小事当然不费吹灰之力。
新建一个索引 (Indexes) 模版,存为 sitemaps.xml,内容如下:
<?xml version="1.0" encoding="UTF-8"?><urlset xmlns="http://www.google.com/schemas/sitemap/0.84"><url><loc><$MTBlogURL encode_xml="1"$></loc><changefreq>hourly</changefreq><priority>1.0</priority></url><MTEntries lastn="49999" sort_by="modified_on" sort_order="descend"><url><loc><$MTEntryLink encode_xml="1"$></loc><lastmod><$MTEntryModifiedDate utc="1" format="%Y-%m-%dT%H:%M:%SZ"$></lastmod><changefreq>daily</changefreq><priority>0.5</priority></url></MTEntries></urlset>
“Save and rebuild”,到 Google 上去提交你的 sitemap url 吧。如果还要看统计信息,还需要在 sitemap.xml 的相同目录下,按 Google 给的文件名新建一个空白 html 文件,以表明你对于这个目录是有权限的。这时也不必开一个 FTP,再新建一个模版就好了,存为这个文件名,“Save and rebuild”,and all done。效果见:http://www.xdanger.com/sitemap.xml。