Sharepoint search, redirecting from OSSSearchResults.aspx to search center

I have a question about customizing search pages in sharepoint. There are two types of searches:

  • contextual, which only searches on the current page or list (they are tagged as: This site: Site name or This list: List name), they point to the OSSSearchResults.aspx page
  • custom queries that can be user defined point to Search Center

Custom searches are not a problem as the search center can be easily changed, but contextual searches are problematic.

So, is there a way to set up sharepoint to send users to search center even with contextual searches?

I know I can inject some javascript into OSSSearchResults.aspx or create an HttpHandler that will redirect it automatically, but I'm wondering if there is an even more custom solution.

+1


source to share


2 answers


I wrote an article that can help you set this up.



+1


source


In SharePOint 2013 - Go to Site Settings-> Save Settings -> Enter Search Center URL -> check box -> Use same results page settings as my parent.

  • Customize search navigation:

  • All -> /sites/searchcenter/Pages/results.aspx



Hope this helped

0


source







All Articles