# Link problem after upgrade

**URL:** <https://forum.litium.com/t/link-problem-after-upgrade/418>\
**Category:** Questions\
**Tags:** litium-6\
**Created:** [December 6, 2018, 2:40pm UTC](https://forum.litium.com/t/link-problem-after-upgrade/418 "2018-12-06T14:40:21Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![malin.oborn](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@malin.oborn](https://forum.litium.com/u/malin.oborn)\
**Post date:** [December 6, 2018, 2:40pm UTC](https://forum.litium.com/t/link-problem-after-upgrade/418/1 "2018-12-06T14:40:21Z")

</div>

After upgrading from L4.8 to L6.6.2, internal page links in the WYSIWYG editor stopped working. Now all links look like this: “pageID:b6f3144790b64421ac8c4c18d2839008” (with different pageIDs for different links of course).

We’ve tried editing the links in BackOffice and pointing them to the corrent page under the “Intern länk” tab in the “Länk” dialog, but they still get the “pageID” style url after publish. The only way to get it to work is to specify a relative url in the URL field under the “Länkinformation” tab.

Is this a known bug?

Litium version: 6.2.2

---

<div class="post-metadata">

**Author:** ![patric.forsgard](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/patric.forsgard/32/10_2.png) [@patric.forsgard](https://forum.litium.com/u/patric.forsgard)\
**Post date:** [December 6, 2018, 4:08pm UTC](https://forum.litium.com/t/link-problem-after-upgrade/418/2 "2018-12-06T16:08:22Z")

</div>

I have not hear that this not should work. What are you using to write the editor content out for rendering?

---

<div class="post-metadata">

**Author:** ![malin.oborn](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@malin.oborn](https://forum.litium.com/u/malin.oborn)\
**Post date:** [December 10, 2018, 8:31am UTC](https://forum.litium.com/t/link-problem-after-upgrade/418/3 "2018-12-10T08:31:28Z")

</div>

We’re using Html.Raw

---

<div class="post-metadata">

**Author:** ![patric.forsgard](https://yyz2.discourse-cdn.com/flex030/user_avatar/forum.litium.com/patric.forsgard/32/10_2.png) [@patric.forsgard](https://forum.litium.com/u/patric.forsgard)\
**Post date:** [December 10, 2018, 10:44am UTC](https://forum.litium.com/t/link-problem-after-upgrade/418/4 "2018-12-10T10:44:23Z")

</div>

How are you fetching the string from the property?

Are you passing the string into the `Litium.Foundation.Modules.CMS.Pages.Page.ReplaceDynamicLinks` to get the transformed data from the `PageID:xxx`?

---

<div class="post-metadata">

**Author:** ![malin.oborn](https://avatars.discourse-cdn.com/v4/letter/m/cab0a1/32.png) [@malin.oborn](https://forum.litium.com/u/malin.oborn)\
**Post date:** [December 10, 2018, 11:51am UTC](https://forum.litium.com/t/link-problem-after-upgrade/418/5 "2018-12-10T11:51:03Z")

</div>

We fetch the string from the property like so: page.GetPropertyVaue(propertyname). ReplaceDynamicLinks seems to do the trick. Thanks!
