Set root url properly