Menu Home

WordPress无法定位(wp-content)的解决方法

打开WordPress根目录的wp-config.php文件,把下面这段代码加到文件末尾。

/** Override default file permissions */
if(is_admin()) {
    add_filter('filesystem_method', create_function('$a', 'return "direct";' ));
    define( 'FS_CHMOD_DIR', 0751 );
}

Categories: wordpress

Tagged as:

lnmcc

Leave a Reply

Your email address will not be published.