Home > linux, programming, web > WordPress update without FTP

WordPress update without FTP

March 14th, 2013

When I want to install upgrade / theme into wordpress, some of my server request me to input FTP connection setting, the others don’t. The problem is, my server don’t have a FTP account.

I’m trying to figure out, what’s the difference in setting, but i cannot find any. Luckily today i found a way to force wordpress NOT using the FTP method.

You just need to edit the wp-config.php. Add this line

define('FS_METHOD' , 'direct');

Reference: http://codex.wordpress.org/Editing_wp-config.php


linux, programming, web

  1. No comments yet.
  1. No trackbacks yet.

Switch to our mobile site