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?

2 Answers
2

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)

Leave a Reply

Your email address will not be published. Required fields are marked *