It appears that most of the classic urls are not using the spider or search friendly feature.
Maybe you turned it on later in your classic years.
If that is the case in the settings change
$search_friendly = 1;
to
$search_friendly = 0;
In both files.
You can't have both so you need to pick the lesser of two evils.
The reason is the url is different between the two.

Also the reason you have this issue at all is when you imported classic to UBBthreads.
Every reference changed.
Member numbers started at 2 instead of one.
Posts and topics numbers changed because it does topics first then replies(posts)
So if a referring url is a post not a topic it should work.

so that means over the years with deleting and moving posts they all kept incrementing on the numbers with gaps between the numbers..
Now they are in numerical order without gaps..
The same happens when you run the re builders for members.
Over the years they show say 5000 but something like 300 posts have been deleted.
Well the re builder will recount posts and start over.
So the end result is they show less posts.




Blue Man Group
There is no such thing as stupid questions. Just stupid answers