Note that there are some explanatory texts on larger screens.

plurals
  1. POSitecore not resolving rich text editor URLS in page renders
    primarykey
    data
    text
    <p>We're having issues inserting links into rich text in Sitecore 6.1.0. When a link to a sitecore item is inserted, it is outputted as:</p> <p><code>http://domain/~/link.aspx?_id=8A035DC067A64E2CBBE2662F6DB53BC5&amp;_z=z</code></p> <p>Rather than the actual resolved url:</p> <p><code>http://domain/path/to/page.aspx</code></p> <p><a href="http://www.experimentsincode.com/blog/post/sitecore-6-cache-clearing-and-links" rel="nofollow noreferrer">This article</a> confirms that this should be resolved in the render pipeline:</p> <blockquote> <p>in Sitecore 6 it inserts a specially formatted link that contains the Guid of the item you want to link to, then when the item is rendered the special link is replaced with the actual link to the item</p> </blockquote> <p>The pipeline has the method <code>ShortenLinks</code> added in web.config</p> <pre class="lang-xml prettyprint-override"><code>&lt;convertToRuntimeHtml&gt; &lt;processor type="Sitecore.Pipelines.ConvertToRuntimeHtml.PrepareHtml, Sitecore.Kernel"/&gt; &lt;processor type="Sitecore.Pipelines.ConvertToRuntimeHtml.ShortenLinks, Sitecore.Kernel"/&gt; &lt;processor type="Sitecore.Pipelines.ConvertToRuntimeHtml.SetImageSizes, Sitecore.Kernel"/&gt; &lt;processor type="Sitecore.Pipelines.ConvertToRuntimeHtml.ConvertWebControls, Sitecore.Kernel"/&gt; &lt;processor type="Sitecore.Pipelines.ConvertToRuntimeHtml.FixBullets, Sitecore.Kernel"/&gt; &lt;processor type="Sitecore.Pipelines.ConvertToRuntimeHtml.FinalizeHtml, Sitecore.Kernel"/&gt; &lt;/convertToRuntimeHtml&gt; </code></pre> <p>So I really can't see why links are still rendering in ID format rather than as full SEO-tastic urls. Anyone got any clues?</p> <p>Thanks, Adam</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload