Changing links to relative path