I am trying to configure the sharepoint search in a way that it would display the results only for the pages within the SitePages library of a particular SubSite in a collection.
Initially I had the results from SiteAssets folder as well, which I succeeded in keeping out by setting some Exclude Rules.
However now the issue I am facing is I want the search scope to be restricted only to the particular subsite and currently it shows me the results for the entire SiteCollection. I have tried all the combinations selecting deselecting of "search in context" for the search webpart. On using the context it again includes the Site Assets pages, that I need to exclude.
Is there a way to do this using the out of box configurations?
Or am I doing it completely wrong and it needs a different approach?