百度sitemap1.0不能通过验证的问题

Standard

编辑百度sitemap插件的“/wp-content/plugins/baidusubmit/inc/sitemap.php”,把

curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);

中的1改成0就好了! 据说是linux服务器的wordpress会出现这个不能通过验证的问题。

发表评论

邮箱地址不会被公开。 必填项已用*标注

您可以使用这些HTML标签和属性: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>