<?xml version="1.0" encoding="UTF-8"?><!-- generator="bbPress" -->

<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
>

<channel>
<title>WordPress &#8250; Support Topic: WP-Super-Cache Plugin root .htaccess please verify if correct</title>
<link>http://wordpress.org/support/</link>
<description>WordPress &#8250; Support Topic: WP-Super-Cache Plugin root .htaccess please verify if correct</description>
<language>en</language>
<pubDate>Thu, 26 Nov 2009 06:49:36 +0000</pubDate>

<item>
<title>ExtraB on "WP-Super-Cache Plugin root .htaccess please verify if correct"</title>
<link>http://wordpress.org/support/topic/219654#post-905955</link>
<pubDate>Sun, 23 Nov 2008 05:05:38 +0000</pubDate>
<dc:creator>ExtraB</dc:creator>
<guid isPermaLink="false">905955@http://wordpress.org/support/</guid>
<description>&#60;p&#62;Hello,&#60;/p&#62;
&#60;p&#62;I just installed the WP-Super-Cache plugin... thanks so much to the creator. Seems like it will be very useful...&#60;/p&#62;
&#60;p&#62;For me WP_Super_Cache seems to be working but for some reason the .htaccess file in my root is not showing up the way the plugin installation instruction says it should.. &#60;/p&#62;
&#60;p&#62;I was hoping some one can help me out by letting me know if my solution is correct.&#60;/p&#62;
&#60;p&#62;My .htaccess file looks like this...&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;# BEGIN WPSuperCache
&#38;lt;IfModule mod_rewrite.c&#38;gt;
RewriteEngine On
RewriteBase /
AddDefaultCharset UTF-8
RewriteCond %{REQUEST_URI} !^.*[^/]$
RewriteCond %{REQUEST_URI} !^.*//.*$
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} !.*=.*
RewriteCond %{HTTP:Cookie} !^.*(comment_author_&#124;wordpress&#124;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 %{REQUEST_URI} !^.*[^/]$
RewriteCond %{REQUEST_URI} !^.*//.*$
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} !.*=.*
RewriteCond %{HTTP:Cookie} !^.*(comment_author_&#124;wordpress&#124;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]
&#38;lt;strong&#38;gt;&#38;lt;/IfModule&#38;gt;

# END WPSuperCache

# BEGIN WordPress
&#38;lt;IfModule mod_rewrite.c&#38;gt;&#38;lt;/strong&#38;gt;
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
&#38;lt;/IfModule&#38;gt;

# END WordPress&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;The wp-super-cache installation says .htaccess should look similar to this....&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;RewriteEngine On
RewriteBase /

RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} !.*=.*
RewriteCond %{HTTP_COOKIE} !^.*(comment_author_&#124;wordpress&#124;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 %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} !.*=.*
RewriteCond %{QUERY_STRING} !.*attachment_id=.*
RewriteCond %{HTTP_COOKIE} !^.*(comment_author_&#124;wordpress&#124;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]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;It does look similar but my file has two sets of &#60;strong&#62;&#38;lt;IfModule mod_rewrite.c&#38;gt;&#38;lt;/IfModule mod_rewrite.c&#38;gt; tags&#60;/strong&#62;.... with most of the code in the first set and the last part in the second set of tags... is this ok or should I move it all into one set of &#38;lt;IfModule mod_rewrite.c&#38;gt;&#38;lt;/IfModule mod_rewrite.c&#38;gt; tags?&#60;/p&#62;
&#60;p&#62;Like this...&#60;/p&#62;
&#60;pre&#62;&#60;code&#62;# BEGIN WPSuperCache
&#38;lt;IfModule mod_rewrite.c&#38;gt;
RewriteEngine On
RewriteBase /
AddDefaultCharset UTF-8
RewriteCond %{REQUEST_URI} !^.*[^/]$
RewriteCond %{REQUEST_URI} !^.*//.*$
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} !.*=.*
RewriteCond %{HTTP:Cookie} !^.*(comment_author_&#124;wordpress&#124;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 %{REQUEST_URI} !^.*[^/]$
RewriteCond %{REQUEST_URI} !^.*//.*$
RewriteCond %{REQUEST_METHOD} !=POST
RewriteCond %{QUERY_STRING} !.*=.*
RewriteCond %{HTTP:Cookie} !^.*(comment_author_&#124;wordpress&#124;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]

RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
&#38;lt;/IfModule&#38;gt;&#60;/code&#62;&#60;/pre&#62;
&#60;p&#62;Or is my .htaccess file fine the way it is.&#60;/p&#62;
&#60;p&#62;Any ideas would be greatly appreaciated... this is my first shot at setting WP and I am not a programmer.&#60;/p&#62;
&#60;p&#62;Thank you&#60;br /&#62;
Eric
&#60;/p&#62;</description>
</item>

</channel>
</rss>
