Home > Wordpress > wordpress 上传不了图片

wordpress 上传不了图片

今天发的google那篇帖子,有一个图片,用 wordpress 上传图片怎么弄也不行,都是一个叉叉。用leapftp看看文件加,多出来一个莫名的文件夹“E:\web\bsd\humker.com”,一想肯定是附件的路径有问题。

前一段时间将blog从windows 下迁移到 linux下,肯定和wordpress处理路径有关系。进phpmyadmin看数据库,wp_options 表 ,upload_path字段,修改为“wp-content/uploads”,(不包括引号),这样就OK了,不管怎么转移数据库,都不会出问题了。

Categories: Wordpress Tags:
  1. No comments yet.
  1. No trackbacks yet.

Note: Commenter is allowed to use '@User+blank' to automatically notify your reply to other commenter. e.g, if ABC is one of commenter of this post, then write '@ABC '(exclude ') will automatically send your comment to ABC. Using '@all ' to notify all previous commenters. Be sure that the value of User should exactly match with commenter's name (case sensitive).