always do the replacement! this was from when there were conditions on
it but since the url params have a different format tp the context root
params we can just always do the substitution now.