Wordpress Super Cache Ubuntu 12.10

November 5, 2013 2.1k views
I successfully installed the canned wordpress/Ubuntu 12.10 and did a few minor tweaks according to http://wycks.wordpress.com/2013/06/16/moving-wordpress-to-digital-ocean/ so far, so good... the blog part of the site seems to have trouble with WP Super Cache and shows blank pages, or shows pages after multiple refresh cycles only, even in the admin panel... I wonder what the issue is and if there is a fix? I do have a hunch that it has to do with permissions.
3 Answers
Check the owner:group attributes. What's the output of
ls -la /path/to/WordPress/installation/

If you see root:root sprinkled in there, execute
sudo chown -R www-data:www-data /path/to/WordPress/installation/
owner for everything is wordpress
Did you add Apache to the WordPress group (Apache traditionally runs as www-data)? Otherwise, check out How To Install Wordpress on Ubuntu 12.04; although, you'll get A LOT better performance with Nginx (especially if you're using a caching plugin) over Apache. See The Importance of Caching WordPress. Then, check out How To Install Wordpress, Nginx, PHP, and Varnish on Ubuntu 12.04.
by Etel Sverdlov
Wordpress is a free and open source website and blogging tool that uses php and MySQL. It was created in 2003 and has since then expanded to manage 22% of all the new websites created and has over 20,000 plugins to customize its functionality. This tutorial shows how to install Wordpress on a server with LAMP. It is written for Ubuntu 12.04.
Have another answer? Share your knowledge.