解决WordPress无法上传附件的问题
我的blog迁移到新主机后,突然发现了一个新的问题:无法上传任何附件。每次上传都会提示:
Unable to create directory – Is its parent directory writable by the server?
检查了wp-content/uploads的权限,没问题。后来发现,居然是配置的问题。要解决这个问题:
- 登录到WordPress后台
- 选择Settings
- 选择Miscellaneous
- 在Store uploads in this folder中替换为下面的内容(以前居然是全路径)
wp-content/uploads




奇怪啊,我的就是相对路径
偶的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 ….
现在的版本已经没有Miscellaneous了,对应的选项在Media里面。
原因是wp-content没有写权限,去SSH(或者FTP或者HTTP文件管理器)里面设置wp-content的目录权限为777.