2017-09-03 64 views
-1

我想在wordpress上创建sitemap.xml。如何像这样创建的sitemap.xml:Sitemap for Wordpress

<urlset xsi:schemaLocation="http://www.sitemaps.org/schemas/sitemap/0.9 

    http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd"><url><loc> 

    http://kody.com.ua/</loc><lastmod>2016-10-08</lastmod> 

    <changefreq>daily</changefreq><priority>1.0</priority></url><url><loc> 

    http://kody.com.ua/promokod-uber</loc><lastmod>2016-10-08</lastmod> 

    <changefreq>daily</changefreq><priority>0.9</priority></url> 

    ................ 

但不喜欢这样:

https://www.famethemes.com/sitemap-misc.xml 2017-09-01 08:17 

https://www.famethemes.com/sitemap-pt-download-2017-09.xml 2017-09-01 08:17 

https://www.famethemes.com/sitemap-pt-download-2017-08.xml 2017-09-01 07:27 

https://www.famethemes.com/sitemap-pt-download-2017-04.xml 2017-04-18 03:07 

回答

0

为什么不能简单地用Google XML Sitemap?它为你完成了这项工作,并有超过200万次安装。

你可以下载它here,并安装它,你可以通过FTP上传它,或使用WordPress的Add Plugin功能。然后通过Settings -> XML-Sitemap下的插件配置页面激活它。

从那里你可以自定义设置,如优先级和更改频率。