Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialBryan Wiedeman
10,203 PointsUbuntu: when I go to install the smtp plugin, it asks for ftp settings
I just have it installed locally and am not ready to pay for hosting quite yet, how can I install plugins without providing hosting info
1 Answer
Bryan Wiedeman
10,203 Pointsok i figured it out myself. i had to go to /etc/wordpress/config-localhost.php and change one line to
define('WP_CONTENT_DIR', '/var/www/html/wordpress/wp-content/');
because it had the wrong path for my wp-content folder
Bryan Wiedeman
10,203 PointsBryan Wiedeman
10,203 Pointsi tried giving the user that's accessing it, www-data, permissions to access the wordpress folder, and that didn't work, then i tried adding define('FS_METHOD', 'direct');
to wp-config.php . Then it doesn't ask me for ftp permissions anymore, but it does say