Home > WordPress > 解决WordPress无法上传附件的问题

解决WordPress无法上传附件的问题

Feb 8th, 2009 00:14:30 Leave a comment Go to comments

我的blog迁移到新主机后,突然发现了一个新的问题:无法上传任何附件。每次上传都会提示:

Unable to create directory – Is its parent directory writable by the server?

检查了wp-content/uploads的权限,没问题。后来发现,居然是配置的问题。要解决这个问题:

  1. 登录到WordPress后台
  2. 选择Settings
  3. 选择Miscellaneous
  4. 在Store uploads in this folder中替换为下面的内容(以前居然是全路径)
    wp-content/uploads
Categories: WordPress Tags: ,
  1. February 8th, 2009 at 18:49 | #1

    奇怪啊,我的就是相对路径

  2. nini
    January 8th, 2011 at 17:40 | #2

    偶的wordpress —>settings—>里面只有 general , writing , reading , discussion , media , permalinks, 就是没有Miscellaneous 这一项啊, 怎么办呢??? 没有Miscellaneous 这一项啊… ,怎么办啊??? 可以帮帮我么???

    我的live spaces 的日志已经用wp2wd的工具导出来xml 来了,可是现在也上传不到wordpress里去, 提示说Unable to create directory
    /home/vhosts/littlethings.freeoda.com/wp-content/uploads/2011/01. Is its parent directory writable by the server?

    我的到底是哪里的问题呢? 是我申请的免费空间的问题? 可以帮帮我么please ….

  3. January 9th, 2011 at 10:10 | #3

    偶的wordpress —>settings—>里面只有 general , writing , reading , discussion , media , permalinks, 就是没有Miscellaneous 这一项啊, 怎么办呢??? 没有Miscellaneous 这一项啊… ,怎么办啊??? 可以帮帮我么???

    现在的版本已经没有Miscellaneous了,对应的选项在Media里面。

    我的live spaces 的日志已经用wp2wd的工具导出来xml 来了,可是现在也上传不到wordpress里去, 提示说Unable to create directory
    /home/vhosts/littlethings.freeoda.com/wp-content/uploads/2011/01. Is its parent directory writable by the server?

    我的到底是哪里的问题呢? 是我申请的免费空间的问题? 可以帮帮我么please ….

    原因是wp-content没有写权限,去SSH(或者FTP或者HTTP文件管理器)里面设置wp-content的目录权限为777.

  1. January 8th, 2011 at 20:26 | #1