Generate correct link for moved URLs