Use Legacy URL setting to generate legacy links

Branches off #649