wordpress后台登录出错,提示信息: Warning: Cannot modify header information - headers already sent by (output started at /目录/wp-config.php:1) in .... 解决办法: 出现此种情况的原因是用记事本编辑过wp-config.php 方法一是使用专门的代码编辑器,将wp-config.php存成utf8无bom编码 如果wordpress原版的wp-config-sample.php文件没有删除的话 可以使用方法二,是直接删掉wp-config.php文件,访问域名,按WP自带的配置引导操作即可