WordPress 迁站之后如何解决网站上传错误

 8 years ago     1.5K  

Article directory

问题描述

Author previously helped a client set up their CNC press brake machine in a US-based factory. WordPress Website has been migrated to Alibaba Cloud Hong Kong's ECS server, which is the host environment deployed by the blogger for himself!

However, a few days after migration, based on customer feedback, the website added media,UploadPlease provide the text in Simplified Chinese, and I'll translate it to American English while following the critical rules and terminology hints.错误提示:

[danger]Cannot establish directory uploads/xxxx/xx. Is there write permission for the parent directory?[/danger]

Customer finally found me after searching on their own and unable to resolve the issue!

解决办法

Actually, this problem can be easily solved by simply accessing the following address in the WordPress backend:http://你的域名/wp-admin/options.phpYou can access your website's “Global Settings” option, enter the “Global Settings” page, and search for:upload_pathUpload the absolute path behind it, modify it to the new server's upload absolute path and it will work normally for uploading!

Summary

The main reason for this issue is the blogger's own carelessness! However, it also reminds everyone to pay attention to the absolute path differences between different servers when migrating a WordPress website, and to pay attention to modifying the related paths of the upload directory to prevent such errors!

Copyright Notice:铭创网络 Published on 8 years ago,common 438 word。
Please indicate:WordPress 迁站之后如何解决网站上传错误 | 赢聚网

You may be interested

No comments

No comments...