Friday, September 26, 2014

/_layouts/15/osssearchresults.aspx not returning any search results when Searching "This Site"

I have commonly observed this issue being researched on a few times where a user selects "This Site" from Search scope/nvaigation dropdown and tries to search for a specific content in the current site, the "No results found" message is displayed. The proble is not with crawling or Search configuration but is with "Alternate Access Mappings" (AAM).

To fix the above issue and see results when searching "This Site" ensure that you have set the URL  for default zone same as URL that you are using to access the site using your browser. For example if you are using as URL to access your Intranet using a browser then ensure that the above URL is set in Alternate access mapping as your Default Zone (refer to <your SharePoint central admin URL>/_admin/EditOutboundUrls.aspx)