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自带的配置引导操作即可
- 本文固定链接: https://www.fengshen.cn/2015/09/wordpress后台登录出错解决办法/etcofwind/
- 转载请注明: fengshen 发表于 Dream of Wind | 一梦风神
觉得文章有用,微信打赏一元。
