This page may contain affiliate links. Please read our disclaimer for more information.

How to Fix: ‘Upload folder is not writable’ WordPress

March 14, 2017

This error is commonly seen when trying to upload media or plugins and themes.

The error message may also read, “Unable to create directory…”

Most of the time, when I see this issue, it’s after a site has been moved, migrated from a developer to your account or moved from one host to another.

Here’s why it’s not working.

There is an “upload path” stored in the database so that WordPress knows where to put your files once you upload them in the WP Admin.

When you migrate a site from one hosting account to another, that upload path is not going to be the same and therefore WordPress can not “write to that path”.

How we fix this issue.

I’ll show you three ways to correct this, each require a different level of skills. However, and this is important, in some cases you will not be able to use the first option below.If you rather have a WP Geek fix this issue for you, just order a One Time Fix here!

From within the WP Admin

  1. Click on “Settings”
  2. Click on “Media”
  3. Look for “Upload Files Section”
  4. Look for “Store uploads in this folder”
  5. Replace whatever is there with “wp-content/uploads” (without the quotes)
  6. Click “Save Changes”
  7. DONE!

From the Database – More Advanced

  1. Login to phpMyAdmin
  2. Click on Database name on left
  3. Click on “wp_options” table
  4. Click on “Browse”
  5. Find the “upload_path” row
  6. Replace what is there with “wp-content/uploads”
  7. DONE!

From options.php

This provides a simplified view of the Database tables.

  1. Go to domain.com/wp-admin/options.php (replace domain.com with your domain name)
  2. Scroll down to find “upload_path”
  3. Replace what is there with “wp-content/uploads”
  4. Click “Save Changes”
  5. DONE!

Wrapping up, ‘Upload folder not writable’ fix…

After following one of the fixes above, you should be able to go and successfully upload your file.

If you have questions, or need further assistance, please use the comments or chat below.

Done-For-You Service

Want us to fix it for you!? If you don’t want to waste time with these tech issues, we’re happy to do-it-for-you! You can feel confident knowing you’ve got an expert fixing it for you!

Chris

Article by Chris Eggleston

Husband. Father to 4. Grandpa to 2. Gravity Forms enthusiast. As the owner of WP Mantis, I’m on a mission to simplify the WordPress experience for site owners. I also try to bring a unique perspective to the Gravity Forms community at gravityranger.com.

0 0 votes
Article Rating
Subscribe
Notify of
guest
15 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments
Craig Riches
Craig Riches
7 years ago

Does this apply to locally installed versions of WordPress when using XAMPP for instance with DesktopServer?

Chris Tier
Chris Tier
7 years ago

YES! Thanks a ton for this tip!

Ros
Ros
7 years ago

This article has been a life-saver for me having transferred a few sites to a new hosting. All uploads, text or media were showing error: upload folder not writable.
Fixed now…..thank you very much!

Adam
Adam
7 years ago

Thank you very much, I’ve been search for a solution for the past 30 mins and this is the only thing i tried which worked for me

Bob Mueller
6 years ago

Chris – much appreciate you posting this. Just switched hosts and couldn’t figure out what was going on, even after going 777 on the uploads directory (I switched it back!).

Makes perfect sense to read it now, but I never would have thought to check in Settings.

Ivan
6 years ago

Hi

Can you clear up an anomaly please. From the options.php option – the text says change the path to “wp-content/uploads” but the text in the image says “wpcontent/uploads”.

Which is it exactly?

Regards

Ivan
6 years ago

Ah, okay.

Thanks Chris.

krbmedia
krbmedia
5 years ago

I don’t see a section for path under SETTINGS>MEDIA

Alvaro
5 years ago

Thanks my friend! i do it! with “From the Database option” of your post

Morox
Morox
4 years ago

Wow, gracias, lo pude solucionar con la primera opción, me estaba volviendo loca este error, mil gracias.