Last Updated: September 09, 2019
·
5.159K
· 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,

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

WordPress sites collect scripts from themes, plugins, and tag managers. A compromised plugin update can add a skimmer to every page without a change in your own templates.

Security insights from Cside