Forum Discussion
waelelkadi
Sep 05, 2024Copper Contributor
search results webpart with query condition is not showing any results
in sharepoint 2019 i have search page with search box web part and search result webpart
in query condition i try :
{?{searchTerms} path:"https://mytestsharepoint.com/en" urlDepth=2}
to limit the result for EN site only
if i open search page by server URL
http://myserver/en/search.aspx
it is working and showing a result
if i open by public URL:
https://mytestsharepoint.com/en/search.aspx
it is showing : Nothing here matches your search
but also if i used www it is working
https://www.mytestsharepoint.com/en/search.aspx
any idea why i have to use "www" in url ?
No RepliesBe the first to reply