typecho百度提交插件BaiduSubmit魔改生成sitemap并且记录蜘蛛来访

插件开发及发布

版主: woniou

回复
kavico
帖子: 19
注册时间: 2017年 11月 10日 10:55
联系:

typecho百度提交插件BaiduSubmit魔改生成sitemap并且记录蜘蛛来访

帖子 kavico »

之前一直用着老高的BaiduSubmit,另外又用了一个地图插件,后来发现这两个插件部分功能相同。于是魔改了下,可以生成sitemap.xml,此外将分类和标签也添加入sitemap。另外,增加完善了记录蜘蛛来访,这样就省了一个插件。

更新内容(比原版)

直接生成sitemap.xml,并优化样式;

sitemap中增加分类和标签;

完善记录中蜘蛛来访,对常见的蜘蛛如Google、百度等准确记录;

其它一些小的更新。

安装

首选,点击下载本插件;

其次,将目录放置在Typecho根目录下的usr/plugins/目录中;

再次,在控制台=>插件管理中启用插件,并配置相应的参数;

最后,访问您的网站/sitemap.xml即可。

下载地址

https://minirizhi.com/104.html
3535988284
帖子: 4
注册时间: 2020年 4月 1日 16:32

Re: typecho百度提交插件BaiduSubmit魔改生成sitemap并且记录蜘蛛来访

帖子 3535988284 »

不行啊老哥,/sitemap.xml页面404
kavico
帖子: 19
注册时间: 2017年 11月 10日 10:55
联系:

Re: typecho百度提交插件BaiduSubmit魔改生成sitemap并且记录蜘蛛来访

帖子 kavico »

3535988284 写了:不行啊老哥,/sitemap.xml页面404


是不是没开启伪静态,没开启的话需要访问/index.php/sitemap.xml
xcgjack
帖子: 2
注册时间: 2020年 3月 31日 22:14

Re: typecho百度提交插件BaiduSubmit魔改生成sitemap并且记录蜘蛛来访

帖子 xcgjack »

This page contains the following errors:
error on line 2 at column 6: XML declaration allowed only at the start of the document
Below is a rendering of the page up to the first error.
###
帖子: 16
注册时间: 2016年 6月 22日 13:41

Re: typecho百度提交插件BaiduSubmit魔改生成sitemap并且记录蜘蛛来访

帖子 ### »

很感谢,已经用上了。哈哈哈
回复