Log in now:

Quick log in:

Moved your WordPress site and images aren’t showing?

The Problem…

I ran into this issue today at work where I had just moved a client’s website from http://www.domain-name.com/staging to http://www.domain-name.com/ and found that none of the 1,000 images that the client had uploaded were working on the front end. You couldn’t even access the directly with a working URL.

My Attempted Fixes:

Check src=”” Attribute was correct

I inspected the code to make sure that the <img> tag had the correct URL in the src=”” attribute. I also checked any missing background-images to ensure they had the right url. The images all had the correct URL:

Searching Google…

What’s more the server had started reporting error 500’s due to the Flash Uploader plugin (beware this is quite an intensive plugin)! Progress was slow but after a couple of hours searching around Google, trying different search queries and swearing at the computer (and in particular, WordPress), I found this article.

The Working Solution:

Uninstalling User Access Manager

I read through the thread and was losing hope until I got to the bottom reply. It mentioned User Access Manager (UAM) as a possible source of the issues. Upon reading this, I remembered another WordPress build behaving in a similar way when we moved it from a /staging/ url to a standard URL.

This website also had UAM installed but that time I just re-uploaded all of the images (there weren’t that many).

I promptly deactivated the UAM plugin and a voilà the images were appearing.