Replace insert tags in external redirect targets (see #6765)