After you have deployed and built a search index, the links that come up as a result of the search maybe incorrect. This will happen when building the registry search as the nodes that are associated with the portal registry need to be configured to have a content and portal uri pointer for the environment.
Navigate to: PeopleTools > Integration Broker > Integration Setup > Nodes – select the default local node (and any other local nodes)
On the Portal tab, there is an option to set the portal uri and content uri set these for your environment and bounce the application server, clear cache, and then undeploy your search and then redeploy and build the search index. Note that the “/” at the end of the URI is VERY IMPORTANT!
Portal URI example: http://psweb.mydomain.com:piaport/psp/<piasite>/
Content URI example: http://psweb.mydomain.com:piaport/psc/<piasite>/