Send only the pathname instead of the full url + query