WordPress的内容编码集在哪里?

时间:2016-04-03 03:31:31

标签: wordpress .htaccess http compression gzip

我禁用了一个WordPress缓存/压缩插件,我的网站仍然停留在返回标题中,表示内容编码是gzip。它应该是text / html。

当我加载任何网页时,即使是wp-admin,Chrome也会说ERR_CONTENT_DECODING_FAILED

第一个答案显示问题:Error 330 (net::ERR_CONTENT_DECODING_FAILED):

以下是标题:

enter image description here

/m/

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /m/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /m/index.php [L]
</IfModule>
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /m/
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /m/index.php [L]
</IfModule>

# END WordPress

/

## EXPIRES CACHING ##
<IfModule mod_expires.c>
ExpiresActive On
ExpiresByType image/jpg "access 1 year"
ExpiresByType image/jpeg "access 1 year"
ExpiresByType image/gif "access 1 year"
ExpiresByType image/png "access 1 year"
ExpiresByType text/css "access 1 month"
ExpiresByType text/html "access 1 month"
ExpiresByType application/pdf "access 1 month"
ExpiresByType text/x-javascript "access 1 month"
ExpiresByType application/x-shockwave-flash "access 1 month"
ExpiresByType image/x-icon "access 1 year"
ExpiresDefault "access 1 month"
</IfModule>
## EXPIRES CACHING ##

Options +FollowSymLinks


RewriteEngine On

我只是不确定如何摆脱gzip。有什么想法吗?

0 个答案:

没有答案