Configure url properly