Ignore share_links if now replacement is defined.