Custom 404 for media files

When users post in chat images or video/audio files (including voice/video messages) and then delete the actual files an empty box is displayed when other users try to access them. To avoid this problem and in case you are running an Apache server that respects .htaccess you can add custom error 404 for media files.

Download and unzip the content in the /attachments folder.

How to test

Page updated: 2022-10-05
Powered by BlaB! Pages