Hammer
Hammer

Reputation: 8888

Unable to create directory wp-content/uploads/2020/03. Is its parent directory writable by the server?

I ran into this issue when installing a theme and tried the two below without luck, any idea?

Change the right to 777 enter image description here

Modify the wp-config enter image description here

Upvotes: 2

Views: 1864

Answers (3)

pcodex
pcodex

Reputation: 1940

Here's what worked for me :

From your Wordpress dashboard go to Settings->Media and set

"Store uploads in this folder" to "wp-content/uploads"

Upvotes: 0

daniel rubambura
daniel rubambura

Reputation: 575

Below method worked for me: Making the webserver the owner of the wordpress folder recursively.

chown -R www-data:www-data wordpress

Upvotes: 0

Tristup
Tristup

Reputation: 3663

Can you please try once by putting the following code into wp-config.php

define('FS_METHOD', 'direct');

Hope it will work for you. You can also read more here

Upvotes: 1

Related Questions