There used to be another parameter that seems to no longer be needed ServiceId=A, ServiceId=N, ServiceId=M ServiceId=R
There seems to be several url paths used in the past. I think I can convert all of them.
/script/veteran.asp?ServiceID=A&VeteranID=
/script/veteran.asp?ServiceID=M&VeteranID=
/script/veteran.asp?ServiceID=N&VeteranID=
/script/veteran.asp?ServiceID=R&VeteranID=
/script/veteran_certificate.asp?VeteranID=
/Veteran.aspx?serviceId=A&veteranId=
/Veteran.aspx?serviceId=M&veteranId=
/Veteran.aspx?serviceId=N&veteranId=
/Veteran.aspx?serviceId=R&veteranId=
/VeteranCertificate.aspx?VeteranID=
There are two other endings in the new url that were not present in the old link. &c=VIETNAM and &c=KOREA instead of &c=WW2.
So it seems the problem is for Vietnam and Korea wars.
I could check if the new page returns a record or an error before changing it.