Check if url path is correct

Simple check