How to remove the default LiteSpeed server 404 error page?
I’m having a strange behavior on my OpenLiteSpeed Wordpress server.
If for example I’m pointing to
https://mywebsite/wp-content/uploads/2019/ I’m seeing the default litespeed 404 error page, but if I’m pointing to a non existent file/folder on my server, I’ll see my wordpress 404 custom error page.
So how can I remove the default litespeed 404 error page so that I can only use my custom one?
I have also removed the
/usr/local/lsws/Example/html/error404.html and deleted my browser’s cache but still no change.
Any help is appreciated. Thank you!
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×