• Welcome to the Chevereto user community!

    Here users from all over the world gather around to learn the latest about Chevereto and contribute with ideas to improve the software.

    Please keep in mind:

    • 😌 This community is user driven. Be polite with other users.
    • 👉 Is required to purchase a Chevereto license to participate in this community (doesn't apply to Pre-sales).
    • 💸 Purchase a Pro Subscription to get access to active software support and faster ticket response times.

How to Replace All Missing Images with a Stand-In

maxdome

Chevereto Member
Near enough every website suffers missing images.
They either show as blank sections within posts or they show in access logs as 404 errors, usually both.
Sometimes they are caused by bad backlinks and other times by accidental image or directory deletion.

The good news is you can use the existing .htaccess from Chevereto to replace missing images.

The Solution To Missing Image Files

Enable this snippet into your .htaccess file to load a replacement image whenever an image file cannot be found:

Remove the #
RewriteRule images/.+\.(gif|jpe?g|png|bmp) content/images/system/default/404.gif [NC,L]
You can put the replacement file wherever you want but always tell Apache where it is relative to the .htaccess file that this snippet is in.

Now disable this snippet with a #:
#RewriteRule images/.+\.(gif|jpe?g|png|bmp) - [NC,L,R=404]

That's it!

e.g: My 404 Image error demo:
af7ec24de3d409d9af337c679c52ebb9.jpg


If you liked my tip, click the "like" button

Cheers!
 
Last edited:
Back
Top