Fix loading legacy links

Also appends `?legacy=true` to the links.