新版Baidu Sitemap插件支持SAE平台与更新常见问题


现在用wordpress for SAE的童鞋多了起来。我也在SAE也搭建了一个wordpress,以后就用于某些插件的测试用了,方便移植插件到SAE平台。也顺道一起更新了插件的帮助说明,Baidu Sitemap用法更新。

不过,SAE的文档还没有认真看,按照目前的理解写了个判断在SAE平台运行的函数。先用着用用。

对SAE的平台还是不太熟。 不建议SAE平台的使用。 如有解决方法,欢迎提供。

上面的SAE平台判断如果有错误或是有更好的办法,就请留言提醒。谢谢~~

Baidu Sitemap插件

Baidu Sitemap Generator 1.44~1.45加上了支持SAE平台。 对config.yaml的修改也加入了提示。也顺便修复了一些BUG。

WordPress Url » http://wordpress.org/extend/plugins/baidu-sitemap-generator/

Download

 

FAQ帮助

1, Sitemap工具帮助http://zhanzhang.baidu.com/wiki/93

2, win主机用这个可能要写静态规则,如果打开是404错误页面的话。

baidu sitemap伪静态规则:(来自网友留言)

RewriteRule /sitemap.xml /sitemap.xml [L]
RewriteRule /sitemap.html /sitemap.html [L]

来自网友大学生宿舍购物的留言:

只需要把这2行加到win主机网站根目录下的httpd.ini配置文件即可。需要注意的是要加在配置规则之后,参考下面:

[ISAPI_Rewrite]
# 3600 = 1 hour
CacheClockRate 3600
RepeatLimit 32
# Protect httpd.ini and httpd.parse.errors files
# from accessing through HTTP
# Rules to ensure that normal content gets through
RewriteRule /sitemap.xml /sitemap.xml [L]
RewriteRule /sitemap.html /sitemap.html [L]

 

3, 如何把Sitemap加到robots.txt嘛?

如在robots.txt加一句: Sitemap: http://www.example.com/sitemap.xml。方便百度收录。有几个sitemap的话也是一样的,一行一个,如:

Sitemap: http://www.example.com/sitemap.xml

原FAQ页面(http://liucheng.name/884/)有些并不适用现在的插件。 可以忽略。


《 “新版Baidu Sitemap插件支持SAE平台与更新常见问题” 》 有 439 条评论

  1. 火狐浏览器下点地图显示

    该 XML 文件并未包含任何关联的样式信息。文档树显示如下。

    如何解决?

  2. 该 XML 文件并未包含任何关联的样式信息。文档树显示如下。

  3. 柳城你好:
    关于我上面提到的问题,重复了很多次也没能运行正常。利用sae自身的 Fetch URL 功能。在根目录下的config.yaml加入两行代码之后,又在你的文件baidu-sitemap-generator里加上了两个文件SAE_html.php和SAE_xml.php来配合config.yaml中加入的两行- rewrite:代码。

    SAE_html.php代码如下:
    fetch(“http://tianyuanke-wordpress.stor.sinaapp.com/sitemap.html”);
    echo $data;
    ?>

    SAE_html.php代码如下:
    fetch(“http://tianyuanke-wordpress.stor.sinaapp.com/sitemap_baidu.xml”);
    echo $data;
    ?>

    现在访问正常了。 [擦汗]

  4. 柳城你好:
    关于我上面提到的问题,重复了很多次也没能运行正常。利用sae自身的 Fetch URL 功能。在根目录下的config.yaml加入两行代码之后,又在你的文件baidu-sitemap-generator里加上了两个文件SAE_html.php和SAE_xml.php来配合config.yaml中加入的两行- rewrite:代码。

    SAE_html.php代码如下:

    header(“Content-Type:text/html “);
    $f = new SaeFetchurl();
    $data = $f->fetch(“http://tianyuanke-wordpress.stor.sinaapp.com/sitemap.html”);
    echo $data;

    SAE_xml.php代码如下:

    header(“Content-Type:text/xml “);
    $f = new SaeFetchurl();
    $data = $f->fetch(“http://tianyuanke-wordpress.stor.sinaapp.com/sitemap_baidu.xml”);
    echo $data;

    这样才显示完整,不好意思。

    • 在SAE_html.php和SAE_xml.php加入kevin的代码,大家不要忘记加

      在这个地方忘记了,搞了好久!

        • 主机也是SAE
          wordpress 3.80 for sae

          下了您这个插件是1.5的版本,安装启用配置ok

          根目录下config.yaml也加了插件设置完毕后提示的内容

          如果不添加kevin说的文件会出404,按kevin说的添加后不404了。按正常地址访问sitemap.html和sitemap_baidu.xml出来的页面内容是空的,

          不知道您说的”我用SaeFetchurl测试过,没有成功。才换成get_file_contents的”这句话是什么个情况?

          求解!

          ps:插件不错~ [强]

          • 访问sitemap_baidu.xml空白的兄弟看看http://mawenjian.net/p/93.html这个帖子吧,我已经搞定了

  5. [强] 一直在SAE上面用baidu_sitemap.

    小小意见哦:把生成的地图放在KV里面,即saekv://wordpress/

    好像那2个文件在安装包不存在哦,不过自己可以新建一个

    直接file_get_contents()就可以拿出来了。。

    再次谢谢你辛苦开发次插件!

  6. 我已经安装了Baidu Sitemap Generator 1.45版本的插件,激活之后完成参数的基本配置,并提交查询内容、点击update XML file按钮,插件页面上方提示:恭喜, 生成百度 Sitemap 文件成功。

    但是页面下方依旧有:

    XML 文件状态
    还没有创建百度Sitemap文件呢

    的信息提示。请教整么回事,

    我目前所使用的是新浪云商店的wordpress平台空间,和你说的SAE平台是一回事吗?

  7. BAE使用1.45版本出现这个.
    error on line 1 at column 1360: EntityRef: expecting ‘;’
    在刚建的一个BAE的测试站上就没问题.求解决方法 [可怜]

  8. 博主你好,因为我用的主机主目录不能更改权限,所以根本不能创建sitemap_baidu.xml,所以我想问如何更改sitemap路径呢?

  9. Responsive 主题下 有三篇文章显示这样代码 sitemap.html
    ———————————————
    & Drop” target=”_blank”>Drag & Drop
    Tons of Addons
    & Mobile” target=”_blank”>Responsive & Mobile
    ———————————————-
    我看来使用Responsive主题都会这样

  10. 在sae上安装启用了插件,但在根目录却看不到html和xml这两个文件,按生成的地址访问总是出现404错误,请求帮助,谢谢!

  11. XML Parsing Error: not well-formed
    生成 sitemap_baidu.xml 的时候跟 Contact form 7 插件有冲突, 会把 Contact form 7 的表单也算一个post, 造成.xml错误, 这个有办法解决吗? 生成html的也会生成 Contact form 7 的表单为一个post. [握手]

  12. 我的显示如下错误:
    This page contains the following errors:

    error on line 1 at column 529: EntityRef: expecting ‘;’
    Below is a rendering of the page up to the first error.
    请问如何解决。谢谢!

    地址:http://www.kaiwenblog.com/sitemap_baidu.xml

  13. 权限设置正常,但是一直提示文件或目录不可写,请修改根目录权限改为777。在生成文件的时候,是什么原因呢?

  14. 你好,用了sitemap_baidu.xml提交给百度后提示

    XML解析错误:XML 或文本声明不在实体的开头
    位置:http://www.rayse.com/archives/category/shengchansl/youxiujgc/feed
    行:3,列:1:

    我看了百度对sitemap的要求也是要写开头的。

    但用你的插件写的是

    请问这个是BUG不。?谢谢 [疑问]

  15. 你好,
    我在“自己的路”控制台的lnmp坏境下使用 baidu-sitemap-generator 插件,发现”当发布文章时更新Sitemap”这个功能失效了,试过很多次。本地使用PHPNOW,这个功能 就没问题。
    想知道是怎么回事?应该怎么弄。谢谢。 [呲牙]

  16. 那个最后更新时间是按照服务器的时间吗,我的地图时间和现在时间相差了8个小时

  17. 博主那个时间问题要改进,你使用的是系统的时间,而wordpress的时间调用函数是这样的
    function current_time( $type, $gmt = 0 ) {
    switch ( $type ) {
    case ‘mysql’:
    return ( $gmt ) ? gmdate( ‘Y-m-d H:i:s’ ) : gmdate( ‘Y-m-d H:i:s’, ( time() + ( get_option( ‘gmt_offset’ ) * HOUR_IN_SECONDS ) ) );
    break;
    case ‘timestamp’:
    return ( $gmt ) ? time() : time() + ( get_option( ‘gmt_offset’ ) * HOUR_IN_SECONDS );
    break;
    }
    }
    很多人使用的是国外的虚拟主机 时间是更改不了的
    这样子的话使用文章定时更新的时候,网站地图就会慢8个小时更新!

  18. wordpress有个常规设置里面有个设置时区的,你这个地图时间能不能根据设置的时区来,而不是使用服务器本身的时区,求更新

  19. 我装了你的插件打开www.likeke.com.cn/sitemap_baidu.xml一片空白没有任何内容打开www.likeke.com.cn/sitemap.html也是一样不知道是怎么回事,以前刚装插件的时候就不会这样。

  20. 您好,请问我用Baidu Sitemap Generator 生成XML以后,打开提示This page contains the following errors:

    error on line 1 at column 45401: EntityRef: expecting ‘;’
    Below is a rendering of the page up to the first error.

    请问是怎么回事呢??

  21. 非常喜欢这款插件的说,大大什么时候写个BAE版本的插件啊?~~~

  22. 博主,为什么用百度BAE搭建的wordpress无法用baidu sitemap插件创建地图呢?而且谷歌地图插件也不可用,后台显示生成了地图,但是地图地址打开后显示页面未找到。

  23. 城哥可不可以开发这样一个插件,

    就是用户通过搜索引擎进入BLOG后自动提取搜索的关键词,然后根据关键词索引所有文章,然后自动成功一个静态的相关文章页面。 [握手]

      • html有收录的,后来自己注册了一下个百度联盟的账号,今天看到baidu已经收录了。你是搞生物信息学的吗?我大学也学过点,现在搞了个移动医疗的网站。多交流。

  24. 你好,请问生成的html站点地图的文章怎样按发表时间排序?目前是按更新顺序排列的,谢谢~

  25. This page contains the following errors:

    error on line 1 at column 8216: EntityRef: expecting ‘;’
    Below is a rendering of the page up to the first error.

    与插件 Contact Form 7 冲突,忘解决

  26. 能否增加在sitemap里添加作者页面、标签页面、分月归档页面的功能,和自定义页面权重和更新频率的功能?
    盼回复,望能逐步增加功能!

  27. 大哥,什么时候写个BAE平台的插件呀。我现在在用BAE 苦于无法生成BAE

  28. 求教啊 wordpress插件“Baidu Sitemap Generator”无法生成sitemap_baidu.xml 我求这2个文件的内容啊 我想直接用FTP弄到网站去 求文件啊 !我网站不能写入 !有木有帮忙下额

  29. PHP Warning: Illegal string offset ‘lc_is_update_sitemap_when_post’ in D:\web\wp-content\plugins\baidu-sitemap-generator\baidu_sitemap.php on line 342

    使用了PHP 5.4之后,发表新文章的时候发生这样的错误 ,请帮忙看下怎么解决。

  30. 有冲突,有冲突的“百度网站地图生成器”插件,这是我们的网站必须使用我们的网站站点地图插件:http://hsmpay.com

    冲突插头网址:http://wordpress.org/extend/plugins/baidu-sitemap-generator/

    期待解决,谢谢!

  31. 博主你好,请问为什么生成了sitemap_baidu.xml之后,访问都是正常的,但是在百度站长工具里提交sitemap时提示URL无法访问呢?感谢!

  32. 每次发文章或者编辑时都出现这个错误。
    PHP Warning: Illegal string offset ‘lc_is_update_sitemap_when_post’ in D:\wwwroot\wp-content\plugins\baidu-sitemap-generator\baidu_sitemap.php on line 342

  33. 后台已经勾选了”当发布文章时更新Sitemap” 实际上并没有更新
    每次发布完文章都需要手动更新才行,怎么解决呢?我是iis环境

  34. 柳师兄,我的这个,http://www.jackwen.com/sitemap.html,地图怎么打不开呢?之前我装上的时候都可以,现在不知道情况怎么会变成这样,不知道问题出在哪里。

  35. 百度地图插件现在有一个问题就是总是显示该页面无效标题和安装失败刚安装好就测试这个插件,不有安装其他的插件麻烦你弄一下谢谢!弄好了跟我说一下

  36. 你好,我只要想在地图里加入文章跟某些分类, 不要加入独立页面,怎么设置?

  37. 安装后生成的xml文件,用浏览器打开,提示:
    This page contains the following errors:

    error on line 1 at column 40047: EntityRef: expecting ‘;’
    Below is a rendering of the page up to the first error.

    看了前面的同学的回复,似乎跟Contact Form 7这个插件冲突,不知道有没有解决方案?

  38. 在config.yaml添加
    – rewrite: if ( path ~ “sitemap_baidu.xml” ) goto “wp-content/plugins/baidu-sitemap-generator/SAE_xml.php”
    – rewrite: if ( path ~ “sitemap.html” ) goto “wp-content/plugins/baidu-sitemap-generator/SAE_html.php”

    也没有用啊,打开http://www.isoftee.com/sitemap.html
    还是404??

  39. 博主有没有发现,用了你的插件后,不管权限怎么改,在点击Update XML file后始终提示“文件或目录不可写,请修改根目录权限改为777”,我请空间商的技术把权限全开,结果依然一样,博主能否讲下这个怎么解决?

  40. 我的文章固定链接使用的是自定义/%category%/%post_id%这种形式的,发现生成的xml和html的文章链接是http://http://www.67279.com//449,中间的分类名没有生成,谷歌的地图插件可以生成,博主的不可以,这是什么原因?是不是bug?望回复

  41. 百度站点地图http://www.qinziheng.com/sitemap.html中的链接都是空间商的二级域名,而且发布文章后,站点地图没有同步。想要让链接变为自己的独立域名,地图同步更新,怎么处理呢?感谢柳城 [抱拳]
    wordpress后台已经设置为独立域名

  42. 你好,你的 百度sitemap插件,我发现和Contact Form 7有冲突,当Contact Form 7开启的时候,百度sitemap生成就不完整。 2个插件的冲突我反复确认过,不同的网站也是一样,并且和Contact Form 7设置无关。
    希望空的时候可以更新版本,修复BUG,非常感谢,毕竟2个插件用户量都很大。

  43. 我在新浪云商店开的博客,安装了该插件后生成不出来,还需要设置哪里么?
    辛苦了,谢谢

  44. 撸主。。发现开启插件后,点击更新文章按钮后出现如下情况,实在不懂

    Warning: Illegal string offset ‘lc_is_update_sitemap_when_post’ in /home/tg1609/public_html/wp-content/plugins/baidu-sitemap-generator/baidu_sitemap.php on line 342

    Warning: Cannot modify header information – headers already sent by (output started at /home/tg1609/public_html/wp-content/plugins/baidu-sitemap-generator/baidu_sitemap.php:342) in /home/tg1609/public_html/wp-admin/post.php on line 222

    Warning: Cannot modify header information – headers already sent by (output started at /home/tg1609/public_html/wp-content/plugins/baidu-sitemap-generator/baidu_sitemap.php:342) in /home/tg1609/public_html/wp-includes/pluggable.php on line 875

  45. Hi,能否支持百度“站内搜索”的XML格式?

    我提交之前的Sitemap文件,提示校验失败:

    错误:Xml格式错误
    详情:1.存在Element ‘url’: Missing child element(s). Expected is ( data ). 错误

    站内搜索数据提交流程和格式说明:http://zhanzhang.baidu.com/wiki/170

  46. RewriteRule /sitemap_baidu.xml /sitemap_baidu.xml [L]
    RewriteRule /sitemap.html /sitemap.html [L]

    我的是win主机,在规则里加入这两行还是不能打开,求解答。 [衰]

  47. 发表文章出现下面页面提示:PHP Warning: Illegal string offset ‘lc_is_update_sitemap_when_post’ in D:\wordpress\wp-content\plugins\baidu-sitemap-generator\baidu_sitemap.php on line 342

    但是文章还是能成功发表!这是为何!

  48. [强] 插件很好用,不过有问题想请教下作者。
    在SAE伪静态下如何310重定向到XML文件?

  49. 你好,我用了你的插件后,发现地图html中竟有一些不相关的内容,如 如何正确删除cookies,如何修改注册信息等等,我确定我的网站上不曾有够这些,请问这个要怎么处理呢?

        • 不行啊。我把短链接修改成2000年,他倒是更新到第一条了
          还有,这插件生成的地图中,文章发布的时间也是跟你发布文章时间一致,后台更改无效。
          比如,我发布时间是2013.10.30 后台更改成2013.10.20
          他还是显示成前者。

          他其实是以你更新的时间为准的,短链接已修改下就更新了。
          所以靠修改时间这方法行不通。
          不知道你还有没其他办法。
          我看有些网站都没生成那个短链接。伤脑筋啊!

          又看不懂代码,应该是靠修改下代码什么的

  50. 老大,我在用你的插件生成百度地图,我提交到百度之后出现如下的错误。请问要怎么解决。我的百度地图地址是:http://www.movies168.com/sitemap_baidu.xml

    显示的错误如下:
    文件:www.movies168.com/sitemap_baidu.xml

    本次抓取时间:2013-09-25 20:29

    错误:Xml格式错误

    详情:

    1.存在Element ‘url’: Missing child element(s). Expected is ( data ). 错误,错误详情如下:

    -09-25 20:12:54″ –> http://www.movies168.com2013-09-25T12:12:54+00:00daily1.0 http://www.movies168.com/2013/3960.html2013-09-17T15:12:39+00:00monthly0.6http://www.movies168.com/2013/3955.html2013-09-16T15:49:21+00:00</last

  51. 我用这个插件怎么好久都不更新呢
    一直是17号的
    现在都20号了
    怎么回事
    是设置有问题?
    QQ1330880921

  52. 用了这个插件,在百度开放适配提交的时候,总是弹出“xml文件格式错误”的问题,请问怎么进行解决?谢谢

  53. 你好,请问一下,插件里的设置显示:文件或目录不可写,请修改根目录权限改为777。这个是什么原因,怎么解决

  54. 博主,生成的xml文件最后一条记录没有url,导致导致百度不能失败,提示说存在不能识别错误,http://thorb.cn/sitemap_baidu.xml,请博主有空看一下 [抱拳]

  55. 我在www.vibeenglish.com上装了最新的baidu sitemap generator,我想请问一下大神几个小白问题哦,
    1,是不是什么都不用动(全部用默认设置),把以下四个选项全勾上就行
    Enabled XML Sitemap
    Enabled Html Sitemap
    Update Sitemap when Publish Post
    Post Limit 1000
    2,Check XML-sitemap File: http://www.vibeenglish.com/sitemap_baidu.xml
    时候出现This XML file does not appear to have any style information associated with it. The document tree is shown below.要不要紧?

    • http://www.vibeenglish.com 里面的什么xml是不是不用动?
      还有以下两个语句不是很明白,意思是要做一定的更改吗?
      add a link in Homepage or Anywhere you want.

      PS:
      提醒:百度的ping服务地址早就有了。可以把它加入ping服务列表,加快百度的收录速度。百度的ping服务地址:http://ping.baidu.com/ping/RPC2

    • 您好,我自己研究了一下,是因为
      【http://www.yifart.com/?post_type=wpcf7_contact_form&p=360】
      一条这样的链接导致生成失败,我在XML文件里把该条链接删除了即可正常访问,可我每一次更新不可能都手动删除,有什么办法拒绝某链接的XML生成吗。

  56. 麻烦插件主看一下,我的跟上面的一样。为何这个生成出现问题。出现XML 解析错误:不合格式
    位置:http://www.alwaysan.com/sitemap_baidu.xml
    行:1,列:1175:<urlset xmlns:xsi="

  57. 柳城你好!我在使用的时候遇到了一些问题:

    在发布文章后提示
    Warning: Illegal string offset ‘lc_is_update_sitemap_when_post’ in /public_html/wp-content/plugins/baidu-sitemap-generator/baidu_sitemap.php on line 342

    Warning: Cannot modify header information – headers already sent by (output started at /public_html/wp-content/plugins/baidu-sitemap-generator/baidu_sitemap.php:342) in /public_html/wp-includes/pluggable.php on line 899
    请问该如何解决?

  58. Illegal string offset ‘lc_is_update_sitemap_when_post’ in /public_html/wp-content/plugins/baidu-sitemap-generator/baidu_sitemap.php on line 342

    这个问题很普遍啊,看了回复,不少人遇到。
    我两个空间,一个就会提示这个错误。

  59. 你好,我使用了Permalink Trailing Slash Fixer插件之后,地址全部规范化,一般我的地址都是这个样子的:
    目录页面应该是http://www.domain.com/abc/
    页面时http://www.domain.com/abc/123.html
    经过我的调整之后,在xml地图已经正常,但是在html地图文件中发现分类目录的地址全部都是这样样子的:http://www.domain.com/abc,后面没有这一斜杠,求教改怎么调整,保证地址规范化!

    • 看到更新了,等了貌似5分钟才看到更新,HTML貌似是实时更新的。

  60. Warning: Illegal string offset ‘lc_is_update_sitemap_when_post’ in
    发表文章的时候一直在提示这个错误,但是文章可以正常发布。

  61. 柳城你好,我查看了地图的文章只更新到11月份,但我的文章已经发布到2014年1月份了,我找不到是什么问题造成无法更新地图的文章,请问有类似的问题解决办法吗? [抱拳]

    • 我看没问题啊,3月8号的都有了。你看的话可能只是浏览器缓存问题造成的。

  62. 当我装上你的插件,点击启用的时候显示没有标题之类的,然后在插件里启用就好了,啥情况

  63. 以前可以的 不知为什么不行了。
    启动插件的时候:该插件没有有效的标题。
    发表文章的时候:Warning: Illegal string offset ‘lc_is_update_sitemap_when_post’ in /home/dgpwusam/public_html/wp-content/plugins/baidu-sitemap-generator/baidu_sitemap.php on line 406

    Warning: Cannot modify header information – headers already sent by (output started at /home/dgpwusam/public_html/wp-content/plugins/baidu-sitemap-generator/baidu_sitemap.php:406) in /home/dgpwusam/public_html/wp-admin/post.php on line 233

    Warning: Cannot modify header information – headers already sent by (output started at /home/dgpwusam/public_html/wp-content/plugins/baidu-sitemap-generator/baidu_sitemap.php:406) in /home/dgpwusam/public_html/wp-includes/pluggable.php on line 896

  64. Warning: file_put_contents(saestor://wordpress/sitemap_baidu.xml) [function.file-put-contents]: failed to open stream: No such file or directory in /home/wwwroot/blog/wp-content/plugins/baidu-sitemap-generator/baidu_sitemap.php on line 283

    Warning: file_put_contents(saestor://wordpress/sitemap.html) [function.file-put-contents]: failed to open stream: No such file or directory in /home/wwwroot/blog/wp-content/plugins/baidu-sitemap-generator/baidu_sitemap.php on line 368

    我手动添加2个文件还是 报这个,清查下吧

  65. 插件生成的sitemap,百度不识别,我已经找到原因,缺少data和displsy标签,可以参考http://www.tyxwdq.com/bet365/40.html。希望尽快更新,严重影响seo [握手]

  66. 请问这个百度插件兼容wordpress3.81麽?怎么我安装后生成地图就崩溃了呢

  67. 你好,我是wp3.8.1版本,用了你的插件,无法生成sitemap.html和sitemap_baidu.xml(网站权限已设777)
    我自己在本地新建html和xml文件上传,也设为777,一样无法写入.
    请帮忙一下

  68. 为什么SAE上生成不了网站的Sitemap。都是链接,没有中文

  69. 为什么回复点不起来?。。顺序有办法改吗 修改了一下以前的文章 顺序就乱了 有强迫症啊

  70. 使用软件时出错,文章不能发布,HP Warning: Illegal string offset ‘lc_is_update_sitemap_when_post’ in D:\WebSites\51showke.com\wp-content\plugins\baidu-sitemap-generator\baidu_sitemap.php on line 406

  71. 建议,可以新增一个目录选择的功能,有的目录不希望被收录,用robots屏蔽的话 量又太大 如果能限定目录还是比较方便的

  72. 我按照提示都做好了,插件也启动了,文件也生成到SAE的Storage上了,就是访问sitemap.html时提示文件不存在,这是怎么回事儿呀?config.yaml里的跳转也都加了呀!

  73. 柳城,你好!
    网站使用baidu-sitemap-generator插件,发布完文章后,文章可以看到,但出现下面警告。wp是3.8.3版本,插件1.50版本。是不是插件有什么错误?怎么解决?谢谢!
    Warning: Illegal string offset ‘lc_is_update_sitemap_when_post’ in /home/daohang1/public_html/wp-content/plugins/baidu-sitemap-generator/baidu_sitemap.php on line 406

    Warning: Cannot modify header information – headers already sent by (output started at /home/daohang1/public_html/wp-content/plugins/baidu-sitemap-generator/baidu_sitemap.php:406) in /home/daohang1/public_html/wp-admin/post.php on line 233

    Warning: Cannot modify header information – headers already sent by (output started at /home/daohang1/public_html/wp-content/plugins/baidu-sitemap-generator/baidu_sitemap.php:406) in /home/daohang1/public_html/wp-includes/pluggable.php on line 896

  74. Deprecated: Function split() is deprecated in /home/content/w/w/w/XXX/wp-content/plugins/baidu-sitemap-generator/sitemap-function.php on line 437

  75. 百度站长平台抓取错误
    文件:gangchang.haoyhaoy.com/sitemap_baidu.xml

    本次抓取时间:2014-05-09 15:06

    错误:Xml格式错误

    详情:

    1.存在Element ‘lastmod’: ‘2014-05-09T06:50:32+00:00’ is not a valid value of the atomic type ‘tLastmod’. 错误,错误详情如下:

    /www.w3.org/2001/XMLSchema-instance” xsi:schemaLocation=”http://www.sitemaps.org/schemas/sitemap/0.9 http://www.sitemaps.org/schemas/sitemap/0.9/sitemap.xsd” xmlns=”http://www.sitemaps.org/schemas/sitemap/0.9″>http://gangchang.haoyhaoy.com 2014-05-09T06:50:32+00:00 daily1.0http://gangchang.haoyhaoy.com/?p=433722014-05-09T13:22:57+00:00monthly0.6http://gangchang.haoyhaoy.

  76. 你好 ,用了你的Baidu Sitemap插件,提交百度Sitemap后,百度提示Xml格式错误
    由于留言板无法提交截图,我腾讯微博私信你了

  77. 你好,百度说sitmap格式里缺少必要的data字段1.存在Element ‘url’: Missing child element(s). Expected is ( data ). 错误,错误详情如下:-05-28 01:23:21″ –>http://blog.xxxx.com2014-05-27T17:23:21+00:00daily1.0http://blog.xxxx.com/archives/5172014-05-23T13:58:58+00:00monthly0.6http://blog.xxxx.com/archives/5082014-05-22T22:45:44+00:00建议解决方案: 请严格遵循规范修改xml文件后再提交。 查看详细格式示例>>

  78. 想问一下,我下载设置好选项之后,在robots文件也加了,还要做些什么呢?在根目录下的sitemap-baidu.xml文件里的代码有些是乱的,但是打开http://gjrcwseo.gotoip3.com/sitemap_baidu.xml里面代码没乱,要把它复制到sitemap-baidu.xml文件里吗

  79. 你好,我的百度地图里面的内容莫名其妙的总是隔三差五的变成乱码,今天又变成乱码了,我网站是UT-8的,我用gb32去看的时候,这些乱码就正常了,可是其他内容又变乱码了,这是不是说百度地图的编码不稳定还是怎么回事呢?http://www.toptbk.com/sitemap.html 这个地址,往下拉就可以看到!

  80. 6月8号,百度首页第一名,但是6月10日,怎么出现掉落,瞬间感觉很不爽啊

  81. Warning: Illegal string offset ‘lc_is_update_sitemap_when_post’ in /home/itaofun1/public_html/wp-content/plugins/baidu-sitemap-generator/baidu_sitemap.php on line 406Warning: Cannot modify header information – headers already sent by (output started at /home/itaofun1/public_html/wp-content/plugins/baidu-sitemap-generator/baidu_sitemap.php:406) in /home/itaofun1/public_html/wp-admin/post.php on line 235Warning: Cannot modify header information – headers already sent by (output started at /home/itaofun1/public_html/wp-content/plugins/baidu-sitemap-generator/baidu_sitemap.php:406) in /home/itaofun1/public_html/wp-includes/pluggable.php on line 1121何解?〉

    • Warning: Illegal string offset ‘lc_is_update_sitemap_when_post’ in /home/youpiner/public_html/wp-content/plugins/baidu-sitemap-generator/baidu_sitemap.php on line 406Warning: Cannot modify header information – headers already sent by (output started at /home/youpiner/public_html/wp-content/plugins/baidu-sitemap-generator/baidu_sitemap.php:406) in /home/youpiner/public_html/wp-admin/post.php on line 235Warning: Cannot modify header information – headers already sent by (output started at /home/youpiner/public_html/wp-content/plugins/baidu-sitemap-generator/baidu_sitemap.php:406) in /home/youpiner/public_html/wp-includes/pluggable.php on line 1121我的也是这样!

  82. sitemap_baidu.xml 总是提示页面不存在 , sitemap.html 打开显示的是我首页..

  83. 定时发布的文章,在写的当天就更新了。希望改进,去掉这个功能。到发布了在更新。

  84. 百度那个插件有个Bug,插件名称后面有个空格,,我在官方下那个版本,会不能启用

  85. 为啥我的sae平台的可以用(生成了xml,html文件),但是config.yaml配置的不行啊,百度站长的sitemap无法抓取,求教。http://mywcd.sinaapp.com

  86. 你这个不支持sae的写入if(LCZ_IS_SAE()){ $stor = new SaeStorage(); $stor->write (“wordpress”, “sitemap_baidu.xml”,”$baidu_xml”); }else{ file_put_contents(“$filename”,”$baidu_xml”); @chmod($filename, 0777); }if(LCZ_IS_SAE()){ $stor = new SaeStorage(); $stor->write (“wordpress”, “sitemap.html”,”$html”); }else{ file_put_contents(“$filename_html”,”$html”); @chmod($filename_html, 0777); }

  87. 为什么我的启用之后sitemap.xml 和那个html 都是空的啊(我使用的是SAE)

  88. 柳哥好。我用了3年你的插件了,一直挺好用。近来的时候启用了http://zhanzhang.baidu.com/的 sitemap中的实时推送功能发现总是提示错误,错误如下:错误:Xml根节点错误推送时间:2014-08-01 17:13详情:1.存在错误,错误详情如下:… …建议解决方案: 请检查拼写,严格遵循规范修改xml文件后再提交。 查看详细格式示例>>不知道是什么情况,请问你有遇到类似的情况吗?

  89. 快速编辑文章保存的时候,会报错Warning: Illegal string offset ‘lc_is_update_sitemap_when_post’ in

  90. 可不可以以文章发布日期生成sitemap,而不是更新/更改时间?

  91. 百度地图更新这个Update XML file,出现这样的警告,Warning: file_put_contents(saestor://wordpress/sitemap_baidu.xml) [function.file-put-contents]: failed to open stream: No such file or directory in 怎么解决,谢谢

  92. 怎么才能联系到你呢,Baidu Sitemap Generator这个插件是博主你写的吗,这个插件除了生成网站地图外,有没有自动提交的功能呢。百度官网有一个自动提交的插件但是没有本地生成静态地图的功能。想用你这个插件生成本地静态地图但是不知道你这个插件有没有自动提交的功能如果有的话是不是就和百度官网的那个自动提交的插件冲突了.

  93. win2003 IIS建站环境是不是用不了?我权限都设置好了,无法生成

  94. 当发布文章时更新Sitemap,这个设置,不知道其实现原理,因为我的站点更新比较频繁,会不会占用大量的mysql请求呢!我想每天更新一次,如何设置呢?

  95. 上条发错了,是:html网站地图可以也定义名称为 sitemap_baidu.html吗

      • 生成的sitemap.html不能访问,打开就是404,运行在BAE上面,为什么啊

      • 生成的sitemap.html不能访问,打开就是404,我的博客运行在BAE上面,为请问什么啊,我按照有个叫gimhoy博主的方法,sitemap_html.php文件放到根目录就可以生成

  96. 如何去掉站点地图页面衔接下边的下划线呢?博客文章的下划线在CSS里边去掉了,但是站点地图里边的怎么去不掉呢?希望博主指点下,谢谢。

  97. 1.6.5 最新版WordPress 4.1 发布文章时无法自动更新Sitemap 后台手动才可以?

  98. 一直在用这个插件,但最近传的说这个插件存在着一些逻辑问题,会导致性能消耗急剧上升,请问是否有这回事吗?

  99. 你好,大侠,wordpress多站点开启后,地图文件就打不开了,会404错,如:http://wanlimm.com/sitemap.xml 就打不开了。这是怎么回事?怎么解决呢?

  100. 修改了一下 插件,因为是自适应的网站,需要加个标签,希望博主下次更新能加上。http://www.lizhixiu.com/sitemap_baidu.xml

  101. 此款插件使用很久了,很棒的一款插件!就是安装插件后发布文章会比不安装的时候卡上N秒才能完成发布,当后台评论数达到20多条审批时候会很卡,还白版出错,没安装插件之前没问题,希望Baidu Sitemap插件越来越完善!

  102. 柳老师,很久没有更新了,现在百度站长平台有个移动端适配,期待柳老师能更新的时候考虑加一加这功能

  103. The Ships’s Voyages

    I think technological know-how just can make it worse. Now there is a channel to never care, now there is not going to become a opportunity for them to find.

  104. split函数被报错,本人使用的是php5.3版本,请问如何修正这个问题?

  105. The Absent Game

    Amongst me and my husband we’ve owned more MP3 players over the years than I can count, which include Sansas, iRivers, iPods (classic & touch), the Ibiza Rhapsody, etc. But, the last few ages I’ve settled down to one line of players.

  106. The Birch of the Shadow

    I think there might become a couple of duplicates, but an exceedingly useful listing! I’ve tweeted this. Several thanks for sharing!

  107. Third Flower

    My wife and that i are now delighted that Albert could carry out his scientific studies due to the tips he had by your website. It can be once in a while perplexing to simply usually be freely giving methods which some people could have been providing.…

  108. Third Flower

    My wife and i are already now delighted that Albert could perform his scientific tests because of the suggestions he had as a result of your web page. It really is every so often perplexing to only normally be making a gift of measures which many peopl…

  109. Woman of Alien

    Best work you’ve carried out, this website is absolutely amazing with wonderful information. Time is God’s way of keeping anything from going on simultaneously.

  110. Healing’s Dragon

    to locate matters to further improve my web page!I suppose its okay to make utilization of a handful of of one’s concepts!!

  111. 拜托更新一下吧,现在会出现/wp-content/plugins/baidu-sitemap-generator/baidu_sitemap.php on line 406的错误

  112. Third Flower

    My wife and that i are already now delighted that Albert could execute his scientific tests due to the tips he had by means of your online page. It really is every now and then perplexing to simply normally be gifting away measures which a number of pe…

  113. Third Flower

    My spouse and that i happen to be now delighted that Albert could execute his scientific studies as a consequence of the ideas he had by means of your web content. It truly is on occasion perplexing to just normally be giving away measures which lots o…

  114. The Birch of the Shadow

    I believe there could become a number of duplicates, but an exceedingly handy record! I’ve tweeted this. Numerous thanks for sharing!

  115. 这个问题怎么解决 谢谢Warning: file_put_contents(saestor://wordpress/sitemap_baidu.xml) [function.file-put-contents]: failed to open stream: No such file or directory in /data/home/qxu1649260458/htdocs/wp-content/plugins/baidu-sitemap-generator/baidu_sitemap.php on line 288Warning: file_put_contents(saestor://wordpress/sitemap.html) [function.file-put-contents]: failed to open stream: No such file or directory in /data/home/qxu1649260458/htdocs/wp-content/plugins/baidu-sitemap-generator/baidu_sitemap.php on line 379

  116. Warning: file_put_contents(saestor://wordpress/sitemap_baidu.xml) [function.file-put-contents]: failed to open stream: No such file or directory in /data/home/qxu1591240352/htdocs/wp-content/plugins/baidu-sitemap-generator/baidu_sitemap.php on line 288Warning: file_put_contents(saestor://wordpress/sitemap.html) [function.file-put-contents]: failed to open stream: No such file or directory in /data/home/qxu1591240352/htdocs/wp-content/plugins/baidu-sitemap-generator/baidu_sitemap.php on line 379后台出现这个是神马情况 http://www.51zan.cc

  117. 柳城前辈,使用你这个插件很久了,效果不错。如果这个插件能再多个功能就好了,生成的sitemap.html页面里 有tag列表,这个tag标签能不能单独提取出来呢 tag标签单独生成一个tag.html的页面(里面包含所有网站所有标签) ,就像生成的地图页面sitemap.html这样 。

  118. WordPress中文地图插件最棒的 我的博客www.diaosuge.com刚刚装了!

  119. wordpress 4.3不能生成xml和html阿。。。。提示生成了。。。其实啥也没有。我的安装目录是ip/blog/ 用主目录跳转子目录的。lnmp求解。。。。。求更新。。。。

  120. html格式的网站地图,能不能做了有各个文章分类的,然后文章分类下面是它的文章及链接。这样显得层次分明些。现在的是文章没有分类开,全部混在一起。

  121. 为什么百度只收录主页,而不收录具体的文章详情信息呢? 地址:http://www.carrotsight.com/

  122. php 7 点击 update XML file 一片空白,不能使用,希望站长更新

  123. 朋友喝醉了说梦话。自己一个人。模仿两个角色,先模仿A唱歌…;接着(模仿)B说要:太素,要听黄的;A又开始唱“十八摸”刚唱了半截,卡壳了。紧接着B就说:太黄太爆力!这时候A火了:你究竟想让劳资怎么唱么?怎么唱么?好担心,会不会打起来…

  124. wordpress用定时发送文章,怎么站点地图中不是最新发布的文章在最前面呢?www.xyybk.com

  125. 提前写好一些文章,用定时发布,但是xml中的文章时间是写文章的日期,不是发布的日期。
    其实要是能检查文章的发布日期和修改日期,来个判断,看哪个日期最新,就用最新的。这样就好了。
    定时发布的时候,对于不会修改的文章,就用发布的日期吧。
    目前自己琢磨了一下,改了一下代码,全部换成文章的发布日期了。但是还是希望作者改好这个功能。谢谢!

  126. 谢谢作者,非常好的一个插件,已经开始使用。
    但是使用后发布文章,页面就不会自动跳转了。弹出502错误,关闭后就又正常。

    【www.chapaofan.com 泡饭影视,www.shafa99.com 沙发影视】

  127. 改了域名以后,生成的xml文件里面的网址还是以前的域名,我都把文件删除了让它重新生成还不行,怎么回事?

  128. 插件生成的代码无移动自适配,建议加一句:见http://zhanzhang.baidu.com/college/documentinfo?id=481&page=4

  129. WP 4.4版本,不能生成XML文件啊!!点击update XML file后,就出来一空白页,没反应了。柳大师,求更新!!!

  130. 查看博客首页 如果可以改成查看网站首页就更好了 因为也有很多企业网站用WordPress

  131. 插件怎么恢复默认设置,不用打开插件直接恢复默认设置。我删除插件重新安装还是之前的设置。

  132. 建议:sitemap.xml的命名方式为 sitemap_[域名变量].xml,因为wordpress mu可能有很多网站,很多域名,都用到这个插件。