How to get links without breaking the rules