Q:

Filter by URL in Search Results Webpart

I've got a search results web part which searches for pages in a sharepoint library.  I'd like to add a query text that limits the search to only certain URLs, such as 'mysite.com/sites/somepagename'
But I just can't figure out what the field containing the URL is supposed to be. 
I've checked the 'Property filter' dropdown and there is no field named 'URL'.  Tried using properties with like 'Location' , 'Site' and 'urls' filtering for results that contain 'somepagename' without any success. 
How do I filter by URL? 
EDIT: Sorry for confusing you guys, it's actually a Search Results web part.  Not Content Query. 

A:

The path property should give you what you're looking for - but note that you need to include the whole path, http:// and all.  
path:"https://sharepointsite.sharepoint.com/mysite" 

and you can control whether or not to include subsites with the UrlDepth property
path:"https://sharepointsite.sharepoint.com/mysite"  UrlDepth=1

Will return results from https://sharepointsite.sharepoint.com/mysite only 
path:"https://sharepointsite.sharepoint.com/mysite"  UrlDepth=2

Will return results from https://sharepointsite.sharepoint.com/mysite/subsite1, https://sharepointsite.sharepoint.com/mysite/subsite2 etc. 