How to prevent DOI/URL in bibliography from becoming a #link?

By sheer coincidence, it looks like they’re having a conversation about the exact same question in this other thread right now. I can reproduce the way that Philipp solved the issue – I’ll go and try to understand the difference.