PDA

View Full Version : [SOLVED] What is wrong with this .htaccess?


MindTooth
04-27-2008, 05:00 PM
Can you please check this?
# BEGIN WPSuperCache
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
AddDefaultCharset UTF-8
RewriteCond %{QUERY_STRING} !.*s=.*
RewriteCond %{QUERY_STRING} !.*attachment_id=.*
RewriteCond %{HTTP_COOKIE} !^.*(comment_author_|wordpress|wp-postpass_).*$
RewriteCond %{HTTP:Accept-Encoding} gzip
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz -f
RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html.gz [L]

RewriteCond %{QUERY_STRING} !.*s=.*
RewriteCond %{QUERY_STRING} !.*attachment_id=.*
RewriteCond %{HTTP_COOKIE} !^.*(comment_author_|wordpress|wp-postpass_).*$
RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f
RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html [L]
</IfModule>

# END WPSuperCache
# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress

Birger :)

anewday
04-27-2008, 05:34 PM
What did you do to fix it?

MindTooth
04-29-2008, 08:21 AM
I use a plugin called WP Super Cache for WordPress. If I enabled super compression, the index will consist of many strange symbols. And I found that as the problem, not the .htaccess configuration.

Birger :)

rok
01-26-2010, 12:32 AM
I use a plugin called WP Super Cache for WordPress. If I enabled super compression, the index will consist of many strange symbols. And I found that as the problem, not the .htaccess configuration.

Birger :)
My drupal Boost module have same pbl...How to solve this?When enable gzip,my inde website will have strange symbols