hexo-theme-icarus icon indicating copy to clipboard operation
hexo-theme-icarus copied to clipboard

如何生成sitemap.xml(How to generate web sitemap)

Open shouziws opened this issue 1 year ago • 3 comments

我希望能够生成网站地图提交到必应、Googleo、百度等搜索引擎,yarn build时会生成所有的页面,请问如何生成sitemap呢?

I hope to generate a sitemap and submit it to search engines such as Bing, Googlo, Baidu, etc. Yarn build will generate all pages. How can I generate a sitemap?

shouziws avatar Sep 24 '24 10:09 shouziws

上 npm 上找 https://www.npmjs.com/search?q=hexo%20sitemap

经验来说,对于百度这种不允许提交索引型 sitemap 的,hexo-generator-seo-xian-sitemap、hexo-seo 不错

ConnersHua avatar Sep 27 '24 04:09 ConnersHua

我是使用這個插件,客製化的選項蠻齊全的 https://github.com/hexojs/hexo-generator-sitemap

forgetfulengineer avatar Oct 05 '24 09:10 forgetfulengineer

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Apr 26 '25 05:04 stale[bot]