When a user submits a query using the Search Box, it must target a result page, which includes the Search & Preview Web Parts required to submit the query and display the results. This is usually the default page of the Search & Preview Search Center, but you might customize this for some or all sites in your SharePoint structure.
In the Site URL field, enter the URL of the Search Center site that you wish to target from the Search Box. There are two ways to specify this:
• Link to a site in the current site collection: to link to a site in the same collection that the user is in when using the Search Box, set the URL using syntax such as “~sitecollection/“, where is the name you gave your Search Center when creating it (default is “Search & PreviewSearch”).
• Link to a site in a specified site collection: to link to a specific site, regardless of which collection the user is in when using the Search Box, use a full URL, including protocol designation, site name, and port number. For example: “http://mysite:8000/“, where is the name you gave your Search Center when creating it.
Either way, the result page targeted will always be called “Pages/DefaultResults.aspx”. So, for example, the full resulting URL might then be: “http://mysite.com:8000/Search/Pages/DefaultResults.aspx”. A page with this name must therefore exist; one is created automatically when you set up the Search Center using the Search & Preview Search Center site template.
|Note: the target URL set here can sometimes be overruled if the user selects a “target only” Search Box scope.|
Need more help with this?
CONTACT US firstname.lastname@example.org OR use our homepage