This tutorial is about how to customize search results.
There are three topics:
- Customization to highlight search keyword
- Customization to open Search result items in new window
- Customize People Search result
I think you can find what you are looking for in topic No. 2 or at least an idea on how to do it. For instance, you can edit the links - lines that create item url for Icon, Title and URL of search result.
EDIT:
Taken from the site, Topic No. 2:
- Go to SharePoint site
- Perform a search on site
- Search result page will open.
- On this page go to Edit page option.
- On search core results webpart click on edit webpart option
- In webpart properties, Click on the XSL Editor Button
- Take backup of XSLT file before modification.
- Now copy XSLT and open it in text pad
Search for the lines:
<span class=”srch-Icon”>
<a href=”{$url}” id=”{concat(‘CSR_IMG_’,$id)}” title=”{$url}”>
<span class=”srch-Title”>
<a href=”{$url}” id=”{concat(‘CSR_’,$id)}” title=”{$url}”>
<span class=”srch-URL”>
<a href=”{$url}” id=”{concat(‘CSR_U_’,$id)}” title=”{$url}” dir=”ltr”>
Above lines create item url for Icon, Title and URL of search result. In current state these will open items on search result page. If you want the link to open in a new window, you will add a target=”_blank”
at the end of href tag. Now update Webpart XSLT with these modifications and exit from editable mode.