开发者

unable to import BlogML.XML in my wordpress blog

I am unable to import BlogML.XML in my word press blog. It giving the f开发者_运维问答ollowing error after creating .htaccess ->

The uploaded file could not be moved to /htdocs/blog.myblog.com/wp-content/uploads/2010/12.

The following are the content of my .htaccess file-->

php_value upload_max_filesize 40M

php_value post_max_size 40M

php_value max_execution_time 2000

php_value max_input_time 2000


I would say that there is a permission issue with the uploads folder. Can you upload any file (like an image) using the Media Library? If not, you have to fix the permissions (most probably the group of the upload folder).

To set the correct permissions, connect to your sevrer through SSH, navigate to the wp-content folder and use the following commands:

chgrp GROUP_NAME_OF_APACHE_SERVER -R .
chmod g+w -R .

That should fix the upload issue.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜