Http status 404 if topic not found

Posted By: sw55

Http status 404 if topic not found - 02/26/18 07:09 PM

I noticed that if I have a link to a forum topic that is not found (e.g. has been deleted), the page gives status code 200 (OK). I would like it to give a 404 status. Any suggestions?
I am running 7.5.7 on php 5.3.3.
Here is an example of the page.
Posted By: isaac

Re: Http status 404 if topic not found - 02/26/18 07:13 PM

upgrade to a current UBB.threads 7.6.x version.

it's built in since version 7.6.0.

from the 7.6.0 changeling:
Added server status error codes ("404 Not Found" or "401 Unauthorized") for when content doesn't exist or the link is unauthorized to that user/spider. Also added "noindex, nofollow" robot tags to those 404/401 pages.
© 2018 UBB.threads PHP Forum Software Community