wordpress的Warning: Cannot modify header information – headers already sent by解决方法 今天闵涛在进行Wordpress换空间的时候因为要修改数据库的连接信息,所以改了后就出现了上面的错误,折腾了我大半个晚上,在网上找到了解决的方法,特地拿来与大家分享一下:
以下是代码片段: Warning: Cannot modify header information – headers already sent by (output started at /home/alswl/public_html/wp-settings.php:1) in /home/alswl/public_html/wp-includes/pluggable.php on line 868