How to display search results from separate sites

Overview

Search results are scoped by default to a specific site’s content. It is also possible to expand the scope to include results for other sites that are part of a site group. This article describes the process to achieve this cross-portal Search functionality.

 

Prerequisites

 

Solution

Once sites are set up in a site group, you need to change the scope for your Search Results page on each sub-site. 

To do this:

  1. Go to Persona Bar > Content > Pages > look for Search Results
  2. Edit the Page > go to Search Results module Settings
  3. Go to Search Results Settings tab > Click on Results Scope for Site and add all the sites you want to be able to search content from there.

    2020-05-27_1303.png

  4. Press Update when done.

You need to do this on every site in the site group.

After performing the steps above:

  1. On your master site, go to Persona Bar -> Settings -> Site Settings -> Search -> Crawling
  2. Under URL Paths click + Add URL
  3. Type in the URL for your other portal
  4. Set Enable Spidering to ON
  5. Click Save

    2020-05-27_1309.png

You need to add the URL for every portal in the site group that you want to show up in the search results.

 

After performing the above steps, make sure to Reindex the Search Content.

 

Testing

You can test that the search results are displaying from different sites by:

  1. Go to the search results for the site you made changes on.
  2. Search for a keyword that should only exist on another site.
  3. The search results for the other site should be displayed.

Comments

0 comments

Please sign in to leave a comment.