2017-09-03 52 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下的插件配置頁面激活它。

從那裏你可以自定義設置,如優先級和更改頻率。