change lang to path-prefix for legacy urls