Split links into read-only links and local references