In order to do site specific search (a.k.a. “This Site” scope) you can append a query string parameter as follows-

http://server/results.aspx?k=sharepoint&u=http%3A%2F%2Fserver%2Flists

Problem
The above will return zero results if you have a server name mapping configured in your search settings-

image

Solution
Removing the server name mapping will resolve this issue and site specific search works as expected

 

Tip: Adding a query string url restriction is equivalent to the following-
 image

 

Leave a Reply

Your email address will not be published.

Set your Twitter account name in your settings to use the TwitterBar Section.