SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a main intranet site:


I have a subsite that's the search portal for the entire company:


On the main site, I've set up a webpart that points to the results page of the search site, so that there's a box people can see when they first hit the main page. The Target Search Results Page URL I've set to /search/Pages/results.aspx. When I enter a search term (we'll use Ryan as an example), it takes me to the results page on the search site just as I expect, but there are no results.

Looking at the url, you would expect the results page to be:

It's actually:

The extra text in the URL is the site that it came from, and is breaking the URL and thus the results page, causing no results to be returned. If I remove that text, it works fine.

What is the correct way to set up a search box on one site that displays the results of another site?

share|improve this question
up vote 1 down vote accepted

Make sure that your search scopes are configured and accessible, as of right now it is not pointing to your All Sites scope. You can check that by going to the Site Settings, and reviewing the Search Settings and Search Scopes pages.

share|improve this answer
To add to Mikes answer, it's showing "Contextual Results" in other words it's appending the context of the current site. You can change that behavior. – Matthew McDermott Nov 21 '13 at 11:53

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.