Harder Than I Thought

Getting rid of this ftp problem (see my previous post about updating WordPress) was harder than I thought. The answer was right in front of me, though. IF I had bothered to read the readme file rather than abusing Google, that is.

  1. Make sure that your wp-content folder and its contents use www-data:www-data for <user>:<group>.
  2. Copy the actual plugins and themes from /usr/share/wordpress/wpcontents to your wp-content rather than using the symlinks.
  3. Add this to your WP config file in /etc/wordpress:
    define( ‘FS_METHOD’, ‘direct’ );

This is a LOT better than using ftp or uploading plugins and themes manually.

2 thoughts on “Harder Than I Thought

Leave a Reply to Joe Wicentowski Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.