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 get 404 status when fetching images, and the http still contains that image. Image shows up in a browser, but the 404 code breaks some applications.

calls to wp-content/uploads/ are redirected in .htaccess:

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteRule (.*) /index.php?getfile=$1 [L]

Why do I get a 404 status if the image is in there and is served?

share|improve this question
1) What are you "getting" the image from, i.e., what user agent, what computer, etc.? 2) What plugins are active? Do you have a hotlinking protection plugin in place? – ZaMoose Oct 13 '10 at 14:43
I'm getting it with a flash application (crossdomain settings ok) and with a simple wget command. Also firefox shows image, but firebug console states it's a 404 response. It's nice of him to load it anyway. And I have no such plugni in place, and site is set to be visible to search agents. – naugtur Oct 14 '10 at 7:50
up vote 5 down vote accepted

Problem solved.

The plugin "User Access Manager" was found guilty of inserting a .htaccess file into wp-content/uploads/ and not handling calls properly afterwards.

I don't know how UAM plugin could be fixed, but It's ok to remove the .htaccess file. Nothing else depends on it. (at least in my case)

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.