最新消息:雨落星辰是一个专注网站SEO优化、网站SEO诊断、搜索引擎研究、网络营销推广、网站策划运营及站长类的自媒体原创博客

compression - Disable gzip on WordPress

programmeradmin3浏览0评论

I can see WordPress enables Gzip compression on the site
I disabled all plugins to ensure that no plugin enabled that
And also I created a simple php script and it doesn't enable gzip by default by Web Server
So I think WordPress enable Gzip in it's code
How can I prevent WordPress to enable Gzip?

I can see WordPress enables Gzip compression on the site
I disabled all plugins to ensure that no plugin enabled that
And also I created a simple php script and it doesn't enable gzip by default by Web Server
So I think WordPress enable Gzip in it's code
How can I prevent WordPress to enable Gzip?

Share Improve this question edited Jun 7, 2022 at 21:15 fuxia 107k38 gold badges255 silver badges459 bronze badges asked Jun 7, 2022 at 16:59 Farhad SakhaeiFarhad Sakhaei 3083 silver badges15 bronze badges
Add a comment  | 

1 Answer 1

Reset to default 0
  1. Check .htaccess on /home/ and /homr/public_html/ (For example of site root), Probably there are some codes there to add gzip to the web server
  2. a web server can enable the gzip as default
  3. check php.ini file for zlib.output_compression value, It should be off
发布评论

评论列表(0)

  1. 暂无评论