Replace old links with new ones.

From #6159.