Recently, I switched my host from abroad to China, but today I suddenly found that I could not post logs with images,
The cause is as follows:
After the WordPress transfer server, sometimes the upload path recorded by WordPress changes to the absolute path. Because the upload path is not set after WordPress is installed, WordPress records the absolute path of the original server.
Because the change server directly imports the database, this will lead to the transfer server after the Image Upload prompt permission is insufficient
Solution:
1. First, log on to your FTP and check whether your upload folder has sufficient permissions. If the permission is 777, you have read, write, execution, and other permissions.
2. Go to the WordPress background and select "Settings". You can change the "Default upload path" to a relative path, which is generally the default path.
WP-content/uploads
3. if the above method is not feasible, only use the FTP upload image function in Windows Live writer, click "log", "Edit Log Settings", and "image" to change it to the FTP upload mode.