Web Hosting Geeks | Web Hosting Experts
Need help? Call us 1(866)TOP-HOST

14361 reviews 1715 hosting providers

Questions & Answers

I am can’t create WP directory uploads

Mar 14, 2013 by mike231
I am not able to upload images in my site, I keep getting the error message: 'Unable to create directory uploads/2013/03. '
I checked all my permissions. I tried deactivating my plugins and switched the theme but nothing worked. Uploading images using FTP to the directory works but I can’t add them to my site. Can anyone please help?
Many thanks

1 Answer

0 votes
Mar 14, 2013 by expert
Add the below code  lines to your wp-config.php file

define('UPLOADS', '/yourdomainname/wp-content/uploads');
define('WP_CONTENT_URL', 'http://yourdomainname.com/wp-content');