MyBB Community Forums

Full Version: Custom error pages?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys,
I'm trying to set up custom error pages for my board, for example if a user tries to go to a specific url on my board that doesn't exist.
I made a .htaccess file and uploaded it to my forum root directory, in the file it says this:

ErrorDocument 400 /404.html
ErrorDocument 401 /404.html
ErrorDocument 402 /404.html
ErrorDocument 403 /404.html
ErrorDocument 404 /404.html
ErrorDocument 500 /404.html

Then also in my forum root directly I uploaded a basic 404.html file. However when I try to access pages that don't exist, im presented with an error page I always had, and which isn't my custom error page.

Am I doing something wrong? Is there another way to achieve this?
Thanks!