Previous Thread
Next Thread
Print Thread
Hop To
Joined: Nov 2008
Posts: 39
S
Newbie
Newbie
S Offline
Joined: Nov 2008
Posts: 39
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.
http://www.pgmusic.com/forums/ubbthreads.php?ubb=showflat&Number=559283

Joined: Apr 2004
Posts: 1,945
Likes: 145
UBB.threads Developer
UBB.threads Developer
Joined: Apr 2004
Posts: 1,945
Likes: 145
upgrade to a current UBB.threads 7.6.x version.

it's built in since version 7.6.0.
https://www.ubbcentral.com/forums/u...-0-changelog-not-yet-released#Post258618

from the 7.6.0 changeling:
Quote
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.


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
spam issues
by ECNet - 03/19/2024 11:45 PM
Looking for a forum
by azr - 03/15/2024 11:26 PM
Editing Links in Post
by Outdoorking - 03/15/2024 9:31 AM
Question on barkrowler and the like
by Mors - 02/29/2024 6:51 PM
Member Permissions Help
by domspeak - 02/27/2024 6:31 PM
Who's Online Now
0 members (), 744 guests, and 147 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)