创建SiteMap

Posted by ghostlei 24 March, 2010

如果您有多个网站,可以创建一个或多个 Sitemap 将所有经过验证网站的网址包含在
其中,然后将这些 Sitemap 保存在一个位置,以此来简化 Sitemap 的创建和提交过程。您
可以通过以下多种方式创建 Sitemap:
1.3.4.1 根据 Sitemap 协议创建 Sitemap:
1. 创建一个文本文件并将其带 .xml 扩展名保存。
2. 将以下内容添加到文件顶部:
<?xml version=”1.0″ encoding=”UTF-8″?>
<urlset xmlns=”http://www.sitemaps.org/schemas/sitemap/0.9″>
3. 将以下内容添加到文件底部: </urlset>
4. 为各网址创建一个条目。 <loc> 为必需,其余标记为可选。
<url>
<loc>http://www.example.com/</loc>
<lastmod>2005-01-01</lastmod>
<changefreq>monthly</changefreq>
<priority>0.8</priority>
</url>
5. 将 Sitemap 上传到您的网站。然后使用网站管理员工具将其提交给 Google。

  • Share/Save/Bookmark
Categories : 更多资源 Tags :

Random Posts

Comments

No comments yet.


Leave a comment

(required)

(required)


`