I am attempting to create an FAQ Site using the O365 Sharepoint Teams Site. As part of the FAQ experience, I would like to have the top search bar be able to search aspx sites only within the said site, with the keywords able to look through the title and contents of the sites.
Currently, I have routed the search bar using the Site Collection settings to be https://tenant.sharepoint.com/sites/pub/_layouts/15/search.aspx
, but this gives me the results of all the sites and even my personal folders and items. The reason why I route it in the first place is because the original settings give me https://tenant.sharepoint.com/sites/pub/_layouts/15/search.aspx/siteall?q=
, giving no results at all. When I was Googling for answers, I presume that an OOB will allow me to search for results within a site, but apparently that was not the case.
The interesting part about this is that I can achieve the result that I want when I customise the Search Result Sources under the Site Collection Administration, when I Query transform and tested {searchTerms} Path:"<Sharepoint URL>" File Type:aspx
, but I am unable to replicate that experience to the Search Bar.
Other information:
- I do not have access to admin centre.
- I am not able to install PnP due to work security restrictions.
- I am unable to PowerShell solutions.
- I have achieved said result before without the abovementioned tools until I messed up some site settings and now I don't know how to replicate it
Please feel free to ask me any questions to troubleshoot this issue and I will furnish as much as I can. Thank you.