get the path instead of the full URL