I know this was probably posted sarcastically, but it's a difficult path to walk. On one side you have rape-culture feminists saying "don't tell me how to dress, teach your sons not to rape" and on the other side you have the police and others trying to give advice on risk minimisation such as "don't dress like a slut".
I think the answer is somewhere in between.
A friend of mine recently blogged how she trained in martial arts, dresses conservatively if out at night and engages in other risk minimisation behaviours, but worries that while it makes her safer, it potentially just means the hypothetical attacker, if out on the prowl, may simply go for another, 'tastier' snack. She feels guilty that while she may be safer, she has made someone else less safe by comparison.
We definitely need to teach our children that 'no means no' and that they don't have the right to force themselves on an unwilling partner. But while that message is sinking in, we need to teach them to consider the risks in how they behave.
Children and adolescents are especially at risk because they still haven't formed the ability to assess risk and make judgements as to their own safety. In some ways it's easier to protect very young children than it is to protect teens, who will be trying to prove their own individuality while feeling immortal.
TL:DR it's complex and something we really should treat as a joke.