Having SharePoint Search Bar search a specific site

Brass Contributor

Hi,

 

We are setting up a SharePoint site and would like to behavior of the SharePoint search to search that site collection, as well as a different site collection.  I know it's possible to change the search behavior for a site to either do that site, entire tenant or hub but we'd prefer to have it only search another site if possible.

 

Thanks.

1 Reply
Two things you could try

Adding a custom Search Vertical
https://learn.microsoft.com/en-us/MicrosoftSearch/manage-verticals

Using PnP Modern Search webparts to create a custom search page and specifying the sites in the query filter.
https://searchexplained.com/pnp-modern-search/