How to do a network wide replace link

How to do a network wide replace link?