mmaama
Forum Replies Created
-
sorry to bump again but i noticed that super-cache might not work properly ( super-caches only the homepage and never the other pages ). to fix that change
if (!-e $request_filename) { rewrite ^(.+)$ /index.php?q=$1 last; }to
if (!-e $request_filename) { rewrite ^(.+)$ /index.php last; }I tested repeatedly with multiple browsers and it super-caches correctly and for all pages.
Forum: Networking WordPress
In reply to: how to increase the speed of default mail delivery timeThis question has been answered on godaddy.com ( http://community.godaddy.com/groups/web-hosting/forum/topic/php-mail-seems-not-working-or-very-slow/ )
Apparently they queue the mails to prevent spam and resource abuse which means you should expect delays of up to a few hours ( according to the info found on the link i provided above ).
Conclusion : you can’t do anything about it except maybe change hosts.
Forum: Networking WordPress
In reply to: Non-existant files don't use WP's 404Ipstenu beat me to it 🙂
I can’t edit the first post anymore so i’ll post the wp-super-cache config here.
nginx.conf
server { listen 80; server_name *.domain.tld; access_log /srv/www/www.domain.tld/logs/access.log; error_log /srv/www/www.domain.tld/logs/error.log; root /srv/www/www.domain.tld/public_html; index index.html index.htm index.php; location ~ .*\.(php|php5)?$ { include fastcgi_params; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /srv/www/www.domain.tld/public_html$fastcgi_script_name; } #super-cache start location / { index index.php; if (-f $request_filename) { expires max; break; } if (-d $request_filename) { break; } set $supercache_file ''; set $supercache_uri $request_uri; if ($request_method = POST) { set $supercache_uri ''; } if ($query_string) { set $supercache_uri ''; } if ($http_cookie ~* "comment_author_|wordpress|wp-postpass_" ) { set $supercache_uri ''; } if ($supercache_uri ~ ^(.+)$) { set $supercache_file /wp-content/cache/supercache/$http_host/$1index.html; } if (-f $document_root$supercache_file) { rewrite ^(.*)$ $supercache_file break; } } #super-cache end #multisite start rewrite ^.*/files/(.*)$ /wp-includes/ms-files.php?file=$1 last; if (!-e $request_filename) { rewrite ^(.+)$ /index.php?q=$1 last; } #multisite endI added comments in case people want to have a single instance blog with super-cache instead of a multisite.
I hope this helps people running on nginx to set up their blogs faster and easier 🙂
Tested and guaranteed working ( My server has nginx 1.0.4 + wordpress 3.2 RC1 but it will work on any nginx+wp3.x setup ).