2018-04-09, 05:24 PM
HTTP header #404 "page not found" should be sent when there is no thread with such tid.
in showthread.php will do it.
It is good for search engines bots not to index such pages (usually deleted). I just had google to point me on such page (through webmater tools).
$thread = get_thread($mybb->get_input('tid', MyBB::INPUT_INT));
if ( !$thread )
http_response_code(404);
in showthread.php will do it.
It is good for search engines bots not to index such pages (usually deleted). I just had google to point me on such page (through webmater tools).