How to fix media upload issue in WordPress

How to fix media upload issue in WordPress

I ran into this issue recently and resolved after trying several solution others suggested. I will give you my solution first and then list the other things I tried since every one will have a different environment. This solutions applies for WordPress on GoDaddy hosting.

The problem, when trying to upload media to post or anything, I got this error

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

The solution that worked for me was to simply update the path of the media upload directory in WordPress (Settings / Media) to “wp-content/uploads” or leave it blank to force default. For some reason this field had something like /home/”some other stuff”/wp-content/uploads. After making this change I was able to upload with no problem.

Other possible solutions (these did not work for me but it will be good the check)

  • FileZilla-change-directory-755Check the directory and file permission. You can do this by accessing your control panel or use a tool like FileZilla to connect to the server. The default settings when you create a directory with GoDaddy are 705. Using FileZilla you can change then to 755 and see if it fixed the issues. Refer to the file attributes on the side image to make these changes.
  • Disable all security plugins and try. If it works then enable each plugin at the time to see which is causing the problem and address it accordingly
  • Check to see if you .htaccess file is restricting the uploads directory for some reason

Similar Post
Mobile App for Sony Blu-ray Disc™ Player (BDP-S2100)
Recently, the remote for my Sony Blue-ray stopped working. I tried the typical recommended things suggested by Sony forums but...
FREE Sneak Preview of the Ender’s Game Movie for IT Professionals!
FREE Sneak Preview of the Ender’s Game Movie for IT Professionals!
IT Professional, this event is for you! That’s right this Pre-screening of Ender’s Game on November 1st is for IT...
Still waiting for Google Chromecast to arrive?
Still waiting for Google Chromecast to arrive?
Google speeds up Chromecast shipments, but inventory remains low Google has reduced the time buyers have to wait to receive...