Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I have a main intranet site:

http://sharepoint/

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

http://sharepoint/search/

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

1 Answer 1

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

 
discard

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.