Forum Discussion
CaptainReboot
Jun 17, 2024Brass Contributor
Having SharePoint Search Bar search a specific site
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.
- 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/