Replace insert tags in the url of an external redirect page (see #6765)

fixed #6765