title: Sitecore 7, Link manager, alwaysIncludeServerUrl not working
body: <p>I am using sitecore 7 single site instance.
  Content editor is generating link to other sitecore pages in this format</p>
  
  <pre><code>&lt;a href="~/link.aspx?_id=C136420D804946BA83DEF823817F5944&amp;amp;_z=z"&gt;Agriculture&lt;/a&gt;
  </code></pre>
  
  <p>after publishing link is not converted to the actual sever related URL.
  I have chnaged the link manager setting "alwaysIncludeServerUrl" to true but still not getting proper URL.</p>
  
  <p>I have published the page but still not showing actual URL.</p>
  
  <p><strong>Update</strong>: I can't use field control here because there is some additional logic that controls what text needs to be rendered. for example, If there is page data source is defined then use that otherwise use "ContentBlock" field of the current item.</p>
  
  <pre><code>        public string ContentBlockContent = "";
          Sitecore.Data.Items.Item currentItem;
  
          if (Parent is Sublayout &amp;&amp; !string.IsNullOrEmpty(((Sublayout) Parent).DataSource))
          {
              currentItem = Sitecore.Context.Database.GetItem(((Sublayout) Parent).DataSource);
          }
          else
          {
              currentItem = Sitecore.Context.Item;
          }
  
          if (currentItem.Fields["ContentBlock"] != null)
          {
              ContentBlockContent = currentItem.Fields["ContentBlock"].ToString();
          }
          if (currentItem.Fields["PageContentSource"] != null)
          {
              var contentPageSource = currentItem.Fields["PageContentSource"];
              var sourceItem = Sitecore.Context.Database.GetItem(contentPageSource.ToString());
              if (sourceItem != null &amp;&amp; sourceItem.Fields["ContentBlock"] != null)
              {
                  ContentBlockContent = sourceItem.Fields["ContentBlock"].ToString();
              }
          }
  </code></pre>
  
  <p>and this is how "ContentBlockContnet" property is rendered on the page.</p>
  
  <pre><code>&lt;%= ContentBlockContent  %&gt;
  </code></pre>