gpt4 book ai didi

mysql - WordPress 中的 Gzip 压缩内置功能

转载 作者:行者123 更新时间:2023-11-29 13:23:53 24 4
gpt4 key购买 nike

我正在更改数据库中的网站urlhome,我发现有一行数据,例如

    optionid   optionname   optionvalue   autoload

31 gzipcompression 0 yes

32 hack_file 0 yes

在表字段中,我在我的 WordPress 数据库中找到了上述数据。

什么是 hack_file? wordpress 中已有 gzip 压缩吗?

如何更改选项值?> 如何管理?任何想法..

enter image description here

最佳答案

gzip 压缩

您必须在设置中打开 gzip 压缩:

  1. 登录您的 WordPress 管理员。
  2. 导航至:wp-admin/options.php
  3. 向下滚动到 gzipcompression 并更改字段中的值从 0 到 1。这会将 WordPress 中的 GZip 压缩设置为“true”。

参见:http://workfunc.com/gzip-compression-make-wordpress-fly/

hack_file

  1. 登录您的 WordPress 管理员。
  2. 导航至:wp-admin/options.php
  3. 向下滚动到 hack_file 并更改字段中的值从0到1。

启用此功能后,它会检查博客根文件夹中名为“my-hacks.php”的文件。如果该文件存在,则执行其中的任何代码。如果该文件不存在,则不会发生任何事情。

关于mysql - WordPress 中的 Gzip 压缩内置功能,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/20400846/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com