Revert full url to path