为了可以及时发现WordPress网站错误问题,我们一般会打开WordPress调试模式,这样如果网站发生错误,查看其错误日志便可快速分析出错原因并针对性地解决。一旦我们准备修复网站出现的错误问题,建议先禁用WordPress调试模式,以防止在修复错误时网站速度变慢。下面一起来了解下WordPress调试模式怎么禁用。
小编在之前的文章中介绍了如何打开WordPress调试模式,一是用插件,二是修改wp-config配置文件的代码。详情可参考阅读:《打开WordPress调试模式的两种常用方法》
①如果使用的是WP Debugging插件启用了WordPress调试模式,现在我们要禁用该模式的话,只需导航到Plugins,选择Installed Plugins已安装的插件,在右侧找到WP Debugging插件,点击Deactivate以停用该插件,如下图所示:

②如果使用的是代码方式启用的WordPress调试模式,我们可打开wp-config配置文件,然后将WP_DEBUG和WP_DEBUG_LOG属性值修改为“false”并保存归档以禁用调试模式。


神马VPS








最新评论
With havin so much written content do you ever run into any issues of plagorism or copyright violation? My site has a lot of exclusive content I've either created myself or outsourced but it appears a lot of it is popping it up all over the internet without my authorization. Do you know any methods to help reduce content from being stolen? I'd really appreciate it.
Hello! This is my first visit to your blog! We are a team of volunteers and starting a new project in a community in the same niche. Your blog provided us beneficial information to work on. You have done a outstanding job!
I think the admin of this web page is really working hard in favor of his website, for the reason that here every data is quality based stuff.
This information is worth everyone's attention. How can I find out more?
I'm truly enjoying the design and layout of your website. It's a very easy on the eyes which makes it much more pleasant for me to come here and visit more often. Did you hire out a developer to create your theme? Great work!
I for all time emailed this website post page to all my contacts, since if like to read it then my friends will too.
Every weekend i used to go to see this website, for the reason that i wish for enjoyment, as this this web site conations truly good funny stuff too.
After exploring a handful of the blog posts on your blog, I really like your technique of blogging. I saved as a favorite it to my bookmark site list and will be checking back in the near future. Please visit my website too and tell me what you think.