SharePoint 2016 people search return incorrect url

Tolppa 66 Reputation points
2022-11-02T09:47:36.757+00:00

Hello. I need help with the user profile search.

Everything works, but search results show the user-profile URL as configured in the alternative access mappings default zone (http://computername:port). I have created an IIS binding that points to an HTTPS URL (i.e. https://a.b.c:httpsport). I also made alternative access mapping for this URL. I created a search content source for people search, which is used to crawl user profiles (sps3://computername: port).

When I start a full crawl, I observe: Search result point to correct my site address, but the URL does not change to match the HTTPS domain. Search results should point to the HTTPS URL. For example, path managed property should be like https://a.b.c:httpsport/Person.aspx?... but SharePoint search returns the way as it is configured in default zone http://computername:port.

Also, I can observe that crawl log Deletes tell me that sts4s://a.b.c:httpsport/Person.aspx?/siteurl=personal/... deleted by the gatherer (The start address or content source that contained to item was deleted and hence this item was deleted.) I also observe that Successes says that "the item was crawled using sts4s://http://computername:port/Person.aspx?/siteurl=personal/ address". That is precisely the opposite I need.

Search content type for SharePoint sites is configured similarly and returns HTTPS -URL as expected.

Any ideas about what is going on? I am still waiting to see if an index reset solves this problem.

Microsoft 365 and Office | SharePoint Server | For business
{count} votes

1 answer

Sort by: Most helpful
  1. Jinwei Li-MSFT 4,736 Reputation points Microsoft External Staff
    2022-11-11T06:09:05.23+00:00

    Hi @Tolppa ,

    Please check as following to for basic troubleshooting:

    1. Make sure Application Pools and sites are running properly via IIS.
    2. Check if admin component in search topology is up and running via Central Administration > Search Service Application.
    3. Make sure Search Service application related services are running via Services.msc. Stop and restart the services if necessary.
    4. Make sure your web application is properly associated the search service via Central Administration > Manage web applications > select the web app > Service Connections. Check if search service application is selected here.

    You could also configure proxy server settings for Search in SharePoint Server.


    If the answer is helpful, please click "Accept Answer" and kindly upvote it.

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.