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,
Written by Mike Lyons
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Php
Authors
Related Tags
#php
#permissions
#apache
#server
#ftp
#themes
#annoyances
#wp-config.php
#update
#plugins
#wordpress
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#