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 404.zip and unzip the content in the /attachments
folder.
How to test
- Upload a video/image/mp3 file and post it in chat
- Delete the file from PANEL ยป Files & Media
- Click on the link in chat
Page updated: 2025-02-07