allowing for subpaths in the url