always do the replacement! this was from when there were conditions on

it but since the url params have a different format to the context root
params we can just always do the substitution now.