WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I'm trying to upload media using the media library. I uploaded a couple of images several months back, and the library worked fine, these images are still available as normal through the WP backend.

However, any new documents of any kind cannot be viewed due to a "failed to load" error. They're not accessable via embedded links (http://www.leghumped.com/wp-content/uploads/2013/08/lockscreen_shortcut-150x150.png) or attachment pages but I can see them when I click 'Edit->Edit Image' for a media item (the image source is '/wp-admin/admin-ajax.php?action=imgedit-preview&_ajax_nonce=46c2917e48&postid=650&rand=98186').

The permissions on my wp-uploads directory are 777 and I'm totally at a loss as to why this isn't working.

share|improve this question
up vote 0 down vote accepted

I'd moved the root of my site from /blog/ to / and not changed it in the general options. Everything seemed to work fine apart from the media library. Correcting the path solved the problem.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.