
XML sitemap是什么?
简单来说, XML sitemap是一个网站包含网页的列表. 它的目的是让搜索引擎, 主要是Google的爬虫能发现这个站点并把站点内的网页添加到搜索索引里. 一个新建的网站几乎是网络里的孤岛, 没有任何其他网站指向它, 所以如果想被Google收录并索引的话, sitemap是很重要的.
怎样创建一个XML sitemap?
如果使用Wordpress的话, 可以使用Yoast SEO插件生成一个XML sitemap.
安装Yoast SEO插件
在Wordpress管理后台选择Plugins, 然后Add new

搜索Yoast SEO, 然后点击Yoast SEO结果上的Install Now, 完成后, 点击Active, 如下图

用Yoast SEO生成XML sitemap
在Wordpress后台选择SEO, 然后general

选择Features tab, 确保XML sitemaps是ON的, 然后Save Changes

确认Sitemap成功生成
做完以上步骤以后, Sitemap的URL应该是<my site>/index.php/sitemap_index.xml. 比如本站feellikelearning.com/index.php/sitemap_index.xml 如下图
