title: SharePoint Redirect site logo link to the root site collection home page
body: <p>I want the site logo link in the master page to always redirect to the root site collection home page. Default behavior is to redirect to the homepage of the current web (spweb).</p>
  
  <p>Back in SharePoint 2010 I could accomplish this by adding the NavigateUrl attribute to the SPLinkButton control in the master page with a value of ~sitecollection like this:</p>
  
  <pre><code>&lt;SharePoint:SPLinkButton runat="server" NavigateUrl="~sitecollection/" id="onetidProjectPropertyTitleGraphic"&gt;
  &lt;SharePoint:SiteLogoImage name="onetidHeadbnnr0" id="onetidHeadbnnr2" LogoImageUrl="/_layouts/images/siteIcon.png" runat="server"/&gt;
  &lt;/SharePoint:SPLinkButton&gt;
  </code></pre>
  
  <p>However in SharePoint 2013 the control for the site logo link has changed in the master page to SPSimpleSiteLink. I have tried setting the NavigateUrl property for this control in the same way but it does not seem to work anymore.</p>
  
  <pre><code>&lt;div id="siteIcon" class="ms-tableCell ms-verticalAlignTop"&gt;
    &lt;SharePoint:AjaxDelta id="DeltaSiteLogo" BlockElement="true" runat="server"&gt;
      &lt;SharePoint:SPSimpleSiteLink NavigateUrl="~sitecollection/" CssClass="ms-siteicon-a" runat="server" id="onetidProjectPropertyTitleGraphic" &gt;
        &lt;SharePoint:SiteLogoImage CssClass="ms-siteicon-img" name="onetidHeadbnnr0" id="onetidHeadbnnr2" LogoImageUrl="/_layouts/15/images/siteIcon.png?rev=23" runat="server"/&gt;
      &lt;/SharePoint:SPSimpleSiteLink&gt;
    &lt;/SharePoint:AjaxDelta&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>As a workaround, I have now removed the AjaxDelta wrapper control and changed the SPSimpleSiteLink to the old SPLinkButton with the added NavigateUrl attribute. This seem to work.</p>
  
  <p>Are there any better ways?</p>