I've spotted there's some code listed in a php forum file mentioning error pages like 403 and 404, so thought forum dealt with them. But if you get 403 or 404 it just serves up the web server default error pages, blank white pages. Is there an easy way to edit the code in the php file to instead re-direct back to homepage for both. Because you don't want to be showing default server error pages really that don't link back to your board.
In common.php file is this:
define('HEADER_403', $_SERVER['SERVER_PROTOCOL'].' 403 Forbidden');
* 404 header
define('HEADER_404', $_SERVER['SERVER_PROTOCOL'].' 404 Not Found');
I do know if you delete a thread and it's still listed in Google, that will show a forum error page in that instance if clicked via google search.