Hi webby1973,
Can you please confirm it’s “404 not found” error you get when you visit the image directly? not “Error 500, internal server error”?
Because if it’s the latter, then your server maybe preventing some directives from being executed in this .htaccess file in uploads directory, we have seen some web hosts disable php_flag, that may be the reason for this issue.
As you mentioned it’s “404 not found” error, then it could be something related to Apache “mod_security”, which I don’t think you have the option to temporarily disable it on your shared hosting server?
Also, if you have any plugin related to images uploading, you may need to disable it temporarily and re-check this issue.
Thanks.
Yes, I confirm it was a 404. Both visiting the pages, or accessing the image URL directly.
I don’t even have access to the cPanel of that server, it’s a shared hosting of a client of mine. I can ask to the hoster, but you should point me to a technical explanation about the issue.
The only plugin managing images is Slider Revolution.
As I mentioned, my best guess it would be something related to mod_security rules set by your host, please check this file content (wp-content/uploads/.htaccess) and ask your web host if they are blocking something that could stop this code from working properly, because normally it should work fine.
Thanks.
hello, instead, my problem is that, when the option is enabled, the images give me the 500 server error. what can i do? the hosting service seems limited. any check i can try before asking to the customer service? thanks
-
This reply was modified 9 years, 2 months ago by
MGDel.
@mgdel when you hit any of the images URL directly in the browser, do you get this “500 server error”? if so, then you will need to check with your web host if they block anything that could prevent this code in “/wp-content/uploads/.htaccess” from working as it should.
Thanks.
thank you very much. i’ll try asking to the hosting. but could it be that, if they are blocking .taccess, they are blocking malicious code to begin with?
I don’t think they are blocking “.htaccess” files, as it’s required for WordPress permalinks to work properly, so perhaps they just don’t allow using “php_flag” as I mentioned here.
Thanks.
Hi @webby1973
Since I haven’t heard back from you I am assuming that the instructions helped you solve your issue so I am marking this topic as resolved.
If however, for whatever reason, you are still experiencing this issue and it is not resolved please respond to the post, which will move it back up the queue, and mark this topic as “not resolved”.
Thank you.