up vote 0 down vote favorite
share [g+] share [fb]

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]
</IfModule>

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

link|improve this question

67% accept rate
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
feedback

1 Answer

up vote 1 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)

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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