Resolving The WordPress ‘Installation Failed Could Not Create Directory.’

WordPress is popular CMS. Due to its ease of access, it has maintained its position as one of the top platforms for building websites among beginners.

But as your WordPress site grows, it becomes prone to many major errors like the ‘dns probe finished nxdomain ’ and ‘’Installation Failed Could Not Create Directory. Some of these errors are highly depressing and annoying as you need to have proper technical knowledge in order to get rid of them and restore your WordPress site.

In this read, we’ll explain how you can resolve ‘Installation Failed Could Not Create Directory’ error.

Let’s begin.

One of the very common causes of “Installation failed: Could not create directory error,” is your WordPress website’s permission settings. However, there are a few more reasons why you could potentially fall prey to this.

Here they are.

What Causes the “Installation Failed: Could Not Create Directory.” Error in WordPress?
Now, typically there are 3 conditions that cause “Installation Failed: Could Not Create Directory.” Error. These conditions are

• Installing a plugin or theme using WordPress Dashboard.
• Updating a plugin or theme.
• Uploading files to the wp-content directory on the server.

Here’s how to solve this annoying error.

How To Diagnose This Error?

WordPress site health is a gem of a tool, having all the valuable information like security checks, site performance, and configuration data.

To diagnose the “Installation failed: Could not create directory” error using the WordPress site tool

1. Go to the Tools section in your WordPress dashboard and select Site Health.
2. Now click on the Info tab to check your file Permission Settings.
3. Drop down the File Permission settings and toggle the permission for each WordPress plugin and theme to Writable.

How To Fix “Installation failed: Could not create directory” Error?

As we’ve mentioned above that the root cause of “Installation failed: Could not create directory” error on WordPress is your incorrect website permissions, therefore, it can easily be solved by resetting the site’s performance. Here’s how you can easily fix this error.
Before you start troubleshooting “Installation failed: Could not create directory” error, it is important to backup your website data so that you can recover it in case of any unfortunate case.

1. Connect to your server using your FTP credentials and access public_html
2. Now, select the folders labeled as wp_content, wp_includes, and wp_admin.
3. Right-click on the folders and select File Permissions.

A window will appear with multiple settings. In this window, you’ll need to make sure that the following permissions are set to these values.

• Owner Permissions: Read, Write, Execute.
• Group Permissions: Read, Execute.
• Public Permissions: Read, Execute.
• Numeric value: 755.
• Recurse into subdirectories.
• Apply to directories only.

Once you’ve set these settings, click on the Ok button and return to your site. Refresh your site and try installing a plugin or theme. You’ll see that the “Installation failed: Could not create directory” error on WordPress is gone.


This content is being provided to you for informational purposes only. The content has been prepared by third parties not affiliated with CWEB Inc, a business. This content and any information contained therein, does not constitute a recommendation by CWEB to buy, sell or hold any security, financial product or instrument referenced in the content. This information neither is, nor should be construed as an offer, or a solicitation of an offer, to buy or sell securities by CWEB Inc. CWEB Inc. does not offer or provide any opinion regarding the nature, potential, value, suitability or profitability of any particular investment or investment strategy, and you shall be fully responsible for any investment decisions you make, and such decisions will be based solely on your evaluation of your financial circumstances, investment objectives, risk tolerance, and liquidity needs.

Unless stated otherwise, the web content provided by the CWEB family of companies is for educational purposes only. The information and tools provided neither are, nor should be construed, as an offer, or a solicitation of an offer, to buy or sell securities by CWEB Inc. or its affiliates. Unless stated otherwise, no information presented constitutes a recommendation by CWEB Inc. or its affiliates to buy, sell or hold any security, financial product or instrument discussed therein or to engage in any specific investment strategy.

Full Disclaimer



Get the most important news and analyses for Free.

Thank you for subscribing.

Something went wrong.