Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

WordPress Installing WordPress Locally Installing WordPress Locally Enable Email for WordPress on Your Computer

What to fill up?

To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host.

It show three input boxes for Hostname, FTP username, FTP password while installing easy SMPT

3 Answers

Dave StSomeWhere
Dave StSomeWhere
19,822 Points

Add the following line to your wp-config.php to bypass ftp (otherwise if you're interested in using FTP there are other searches to setup your FTP credentials). Here's a link to one of the many discussions about define FS_METHOD and the codex is always worth checking out.

define('FS_METHOD', 'direct');

Sir if I add that define then can i send emails from localhost

Dave StSomeWhere
Dave StSomeWhere
19,822 Points

That define will allow you to update wordpress and add plugins without using ftp.

Sending mail from your local wordpress instance is a separate issue. You mentioned SMPT you should probably check out their documentation. Here's a link I found doing a quick search, but I haven't tried it.

Thanks for you help sir.