I know secondary weapons DO NOT get the short range bonus, but do they also negate the long range defense bonus your target normally gets??
Yes, that is correct.
That is also why one of sides of the range ruler has no extra dice showing on range 1 and 3....that's the secondary weapon side(with what looks like photon torps). The primary weapon has the phasers and does have the dice added as a reminder.