Title: askapache's Replies - page 10 | WordPress.org

---

# askapache

  [  ](https://wordpress.org/support/users/askapache/)

 *   [Profile](https://wordpress.org/support/users/askapache/)
 *   [Topics Started](https://wordpress.org/support/users/askapache/topics/)
 *   [Replies Created](https://wordpress.org/support/users/askapache/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/askapache/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/askapache/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/askapache/engagements/)
 *   [Favorites](https://wordpress.org/support/users/askapache/favorites/)

 Search replies:

## Forum Replies Created

Viewing 2 replies - 136 through 137 (of 137 total)

[←](https://wordpress.org/support/users/askapache/replies/page/9/?output_format=md)
[1](https://wordpress.org/support/users/askapache/replies/?output_format=md) [2](https://wordpress.org/support/users/askapache/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/askapache/replies/page/3/?output_format=md)…
[8](https://wordpress.org/support/users/askapache/replies/page/8/?output_format=md)
[9](https://wordpress.org/support/users/askapache/replies/page/9/?output_format=md)
10

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [Super Cache rewrite rules causing endless loop ?](https://wordpress.org/support/topic/super-cache-rewrite-rules-causing-endless-loop/)
 *  [askapache](https://wordpress.org/support/users/askapache/)
 * (@askapache)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/super-cache-rewrite-rules-causing-endless-loop/#post-713044)
 * This works for me,
 *     ```
       # BEGIN WordPress
   
       RewriteCond %{QUERY_STRING} !s
       RewriteCond %{HTTP_COOKIE} !^.*(comment_author_|wordpress|wp-postpass_).*$
       RewriteCond %{HTTP:Accept-Encoding} gzip
       RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(.+)(/?)\ HTTP/ [NC]
       RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/%2/index.html.gz -f
       RewriteRule ^(.+)$ /wp-content/cache/supercache/%{HTTP_HOST}/%2/index.html.gz [L]
   
       RewriteCond %{QUERY_STRING} !s
       RewriteCond %{HTTP_COOKIE} !^.*(comment_author_|wordpress|wp-postpass_).*$
       RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /(.+)(/?)\ HTTP/ [NC]
       RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/%2/index.html -f
       RewriteRule ^(.+)$ /wp-content/cache/supercache/%{HTTP_HOST}/%2/index.html [L]
   
       RewriteCond %{REQUEST_FILENAME} !-f
       RewriteCond %{REQUEST_FILENAME} !-d
       RewriteRule . /index.php [L]
   
       # END WordPress
       ```
   
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [.htaccess HTTP_COOKIE not working (Super Cache problem)](https://wordpress.org/support/topic/htaccess-http_cookie-not-working-super-cache-problem/)
 *  [askapache](https://wordpress.org/support/users/askapache/)
 * (@askapache)
 * [18 years, 1 month ago](https://wordpress.org/support/topic/htaccess-http_cookie-not-working-super-cache-problem/#post-673727)
 * This works even better.
 * `RewriteCond %{HTTP_COOKIE} !^.*(comment_author_|wordpress|wp-postpass_).*$`

Viewing 2 replies - 136 through 137 (of 137 total)

[←](https://wordpress.org/support/users/askapache/replies/page/9/?output_format=md)
[1](https://wordpress.org/support/users/askapache/replies/?output_format=md) [2](https://wordpress.org/support/users/askapache/replies/page/2/?output_format=md)
[3](https://wordpress.org/support/users/askapache/replies/page/3/?output_format=md)…
[8](https://wordpress.org/support/users/askapache/replies/page/8/?output_format=md)
[9](https://wordpress.org/support/users/askapache/replies/page/9/?output_format=md)
10