How to Solve WordPress Could Not Create Directory

# WordPress Can't Create Directory Fix # Jeff Reifman # # The first level is actually to make sure that your web server has ownership over the directories: chown -R www-data:www-data your-wordpress-directory # The second level is also required – you must make sure that the directory permissions are properly set: sudo find /var/www/wordpress/ -type d -exec chmod 755 {} \; sudo find /var/www/wordpress/ -type f -exec chmod 644 {} \;
If you’re trying to upgrade WordPress or install a plugin and getting the “could not create directory” error, here are the two levels required to solve it.

Be the first to comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.