fixed aliasing the root url instead of sub url