Posts Tagged ‘upload’

How To Fix WordPress Media Upload Error

Problem :

While making the new post on wordpress blog that requires any media like Image & video, When you try to upload media in post you get this error message.

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

The parent directories “uploads” and “2010″ had 777 permission so there was nothing wrong with the permission settings.

Fix :

The problem was not with the directory permissions, but it was with URL where WordPress was trying to upload the image.

  • Go to Settings > Miscellaneous > Store uploads in this folder
  • Remove ” / ” from the front of “wp-content/uploads

There is another way to of changing the file upload path of your WordPress blog by modifying wp-config.php file.

  • Add this define(‘UPLOADS’, ‘wp-content/new_folder’); Before this require_once(ABSPATH.’wp-settings.php’);