March 1, 2023
In SharePoint 2010, the Search Center does not provide a link back to the top-level site in the breadcrumb. This is a hindrance for users to find their way back to the top-level site.
Having a link back to the home page of the top-level site would be especially useful in scenarios like Intranet sites. A link could be provided in the breadcrumb back to the Intranet home page. Here is a quick example to add a link to an Intranet home page on a Search Center:
<SharePoint:SPLinkButton runat="server" NavigateUrl="~site/" id="onetidProjectPropertyTitle" CssClass="s4-mini-h1-a">
<!-- Custom Link to Portal -->
<SharePoint:SPLinkButton runat="server" NavigateUrl="~sitecollection/" id="rootSiteBreadcrumbLink" CssClass="s4-mini-h1-a">
ÂÂÂ Intranet Home
</SharePoint:SPLinkButton>
<SharePoint:ClusteredDirectionalImage
ÂÂÂ runat="server"
ÂÂÂ ImageUrl="/_layouts/images/fgimg.png"
ÂÂÂ LTROffsetX=0
ÂÂÂ RTLOffsetX=0
ÂÂÂ LTROffsetY=607
ÂÂÂ RTLOffsetY=618
ÂÂÂ LTRWidth=11
ÂÂÂ LTRHeight=11
ÂÂÂ RTLWidth=11
ÂÂÂ RTLHeight=11
ÂÂÂ AlternateText=":"
ÂÂÂ ClassName="s4-mini-titlesep"/>
<!-- End Custom Link to Portal –->
Caveat:
While the link to the top-level site is dynamic (~sitecollection/), this example hard-codes "Intranet Home" in the Search Center Master Page. If the Intranet is renamed, the Master Page would need to be updated to reflect the new name.