unable to import BlogML.XML in my wordpress blog

2019-09-05 14:45发布

问题:

I am unable to import BlogML.XML in my word press blog. It giving the following 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

回答1:

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.



标签: wordpress