MyBB Community Forums

Full Version: How would I do this?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When a user types in a page, for example: xforums/blah.php, if I don't have a page called "blah.php", it re-directs them to my hosting site.

How can I make it so it directs them to a page that says "The page you are looking for can not be found", instead of redirecting to my hosting site.

http://sportsforum.comli.com/index.php

That's my forum site.

If you go to this page, that doesn't exist, you'll see that it directs you to 000webhost.

http://sportsforum.comli.com/blah.php
Make a 404.php and redirect through .htaccess

ErrorDocument 404 /404.php