Added support for root urls (single slash "/")