Last Updated: September 09, 2019
· mikelyons

Update wordpress without FTP

Sometimes, depending on your installation, when you go to update wordpress, a plugin or a theme, or go to intall a plugin or theme, it will ask for FTP credentials. If you have no FTP access with your host, or decide you don't want to install and manage an FTP server, you can do the following to circumvent FTP when updating wordpress or installing components from the dashboard.

In wp-config.php

define('FS_METHOD', 'direct');

This will enable the wordpress updater to interact directly with the file system.

Just make sure your permissions and ownership are set correctly,