Skip to content

Wordpress Site on AWS Lightsail LAMP instance is up HOWEVER, media upload attempts are met with "Unable to create directory wp-content/... Is its parent directory writable by the server?" How to fix??

0

I have tried several different fix attempts, including changing directory and file permissions, and hard coding the path to the uploads directory. No dice.

Background: I performed a Wordpress 6.5.5. installation which included a custom template. The site is up and running at 34n.us however I can't upload images through the wordpress media library or add plugins UNLESS I use ftp.

NOTE: I did not use the preinstalled amazon wordpress instance, but rather a fresh install on a LAMP Linux Lightsail instance.

Help.

PS A similar question was asked a year ago and it was abandoned.

asked a year ago264 views
1 Answer
0

Hello.

Will an error occur if I change the permission settings including under the "wp-content" directory as shown below?

chmod -R 775 wp-content

Also, has the destination directory for images been created in advance?
You can set the directory where images are saved from the WordPress screen, but please check if the directory exists.
https://wordpress.org/support/topic/how-can-i-check-where-wordpress-media-directory-is-set-to-upload-files/

EXPERT
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.