ChrisSamuel
Forum Replies Created
-
Forum: Plugins
In reply to: wplicense 1.1.1 incompatible with wordpress 2.8?Add something like this after the first line to make it recognised again (WP2.8 won’t load plugins that don’t have this any more).
/* * Plugin Name: wplicense * Version: 1.1.1 * Plugin URI: http://wordpress.org/extend/plugins/wplicense/ * Description: Allows a user to select a creative commons license. * Author: Nathan R. Yergler * Author URI: http://wiki.creativecommons.org/User:NathanYergler * */Forum: Fixing WordPress
In reply to: [Plugin: WP Super Cache] Super Cache killed my RSS feedoops – and don’t forget to delete your cache!
Forum: Fixing WordPress
In reply to: [Plugin: WP Super Cache] Super Cache killed my RSS feedI also removed wp-rdf.php, wp-rss.php and wp-rss2.php from the list of files to cache, otherwise it was getting served up as text/html and not text/xml..
Forum: Plugins
In reply to: Supercache .htaccess problemOK, because I’m using vhosts in my Apache 2.2 config I found that %{DOCUMENT_ROOT} was being set to just /htdocs. So to fix it
I just needed to prefix it with /var/www/%{HTTP_HOST}. You can verify whether or not this is happening for you too by looking at the output of the phpinfo() “Server variables” section.My patch was:
--- .htaccess.hmm 2008-04-06 18:58:17.000000000 +1000 +++ .htaccess 2008-04-06 20:06:50.000000000 +1000 @@ -5,12 +5,12 @@ RewriteCond %{QUERY_STRING} !.*s=.* 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 +RewriteCond /var/www/%{HTTP_HOST}/%{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 %{HTTP_COOKIE} !^.*(comment_author_|wordpress|wp-postpass_).*$ -RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f +RewriteCond /var/www/%{HTTP_HOST}/%{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html [L] </IfModule>Hope that helps!
ChrisForum: Plugins
In reply to: no super cached pages with WP Super CacheOK, because I’m using vhosts in my Apache 2.2 config I found that %{DOCUMENT_ROOT} was being set to just /htdocs. So to fix it
I just needed to prefix it with /var/www/%{HTTP_HOST}. You can verify whether or not this is happening for you too by looking at the output of the phpinfo() “Server variables” section.My patch was:
--- .htaccess.hmm 2008-04-06 18:58:17.000000000 +1000 +++ .htaccess 2008-04-06 20:06:50.000000000 +1000 @@ -5,12 +5,12 @@ RewriteCond %{QUERY_STRING} !.*s=.* 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 +RewriteCond /var/www/%{HTTP_HOST}/%{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 %{HTTP_COOKIE} !^.*(comment_author_|wordpress|wp-postpass_).*$ -RewriteCond %{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f +RewriteCond /var/www/%{HTTP_HOST}/%{DOCUMENT_ROOT}/wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html -f RewriteRule ^(.*) /wp-content/cache/supercache/%{HTTP_HOST}/$1/index.html [L] </IfModule>Hope that helps!
Chris