# Old URL not being published correctly

**URL:** <https://forums.realmacsoftware.com/t/old-url-not-being-published-correctly/47301>\
**Category:** Elements\
**Created:** [April 25, 2025, 8:55am UTC](https://forums.realmacsoftware.com/t/old-url-not-being-published-correctly/47301 "2025-04-25T08:55:08Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![RussOggi255](https://avatars.discourse-cdn.com/v4/letter/r/ee7513/32.png) [@RussOggi255](https://forums.realmacsoftware.com/u/RussOggi255)\
**Post date:** [April 25, 2025, 8:55am UTC](https://forums.realmacsoftware.com/t/old-url-not-being-published-correctly/47301/1 "2025-04-25T08:55:09Z")

</div>

I just updated to 0.7.8 (23502) and I think there is a problem with links that already existed.  
I have a page of links that used to work, but now when I publish that page the link looks like this;

 ![Screenshot 2025-04-25 at 09.46.30](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/1/4/14ca6b7c60c216c56b6e8caeebc626ad9012f910.png)

If I create a new link on a Button it seems to generate the correct URL. If I create the link on part of a Text object which is part of the Content part of an Accordion it does not work.

 ![Screenshot 2025-04-25 at 09.54.42](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/c/4/c46046f741d6a5bf2e0ac65044ae658b8dfc75d2.png)

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [April 25, 2025, 10:44am UTC](https://forums.realmacsoftware.com/t/old-url-not-being-published-correctly/47301/2 "2025-04-25T10:44:11Z")

</div>

Can you share the project please so we can take a look?

---

<div class="post-metadata">

**Author:** ![RussOggi255](https://avatars.discourse-cdn.com/v4/letter/r/ee7513/32.png) [@RussOggi255](https://forums.realmacsoftware.com/u/RussOggi255)\
**Post date:** [April 25, 2025, 11:26am UTC](https://forums.realmacsoftware.com/t/old-url-not-being-published-correctly/47301/3 "2025-04-25T11:26:02Z")

</div>

Hi @dan  
It is here elementsapp://downloadDocument/atUDxZ3SNUBP  
If you go to the Expeditions folder and look at Expedition Links that is the page I am having issues with

---

<div class="post-metadata">

**Author:** ![maxken](https://avatars.discourse-cdn.com/v4/letter/m/ac91a4/32.png) [@maxken](https://forums.realmacsoftware.com/u/maxken)\
**Post date:** [April 27, 2025, 4:22pm UTC](https://forums.realmacsoftware.com/t/old-url-not-being-published-correctly/47301/4 "2025-04-27T16:22:43Z")

</div>

This problem seems to be more widespread. If I select all or part of the text in either a Text or Typography component and add a “Page” link it is incorrectly generated as “[https://mysite/frompage/undefined](https://mysite/frompage/undefined)” where “mysite” is the domain of my sever, “frompage” is the folder of the page I am linking _from_, and “undefined” is the actual word _undefined_. This, of course, results in a 404 response on the live site. Button links appear to work ok. Using a Plain Text or URL link instead of Page also generates the correct html. I’m using Version 0.7.9 (23506)

---

<div class="post-metadata">

**Author:** ![dan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/dan/32/28516_2.png) [@dan](https://forums.realmacsoftware.com/u/dan)\
**Post date:** [April 28, 2025, 2:09pm UTC](https://forums.realmacsoftware.com/t/old-url-not-being-published-correctly/47301/5 "2025-04-28T14:09:53Z")

</div>

Thanks for the report, this is indeed a bug and we’re working on a fix as we speak…

Look out for the fix in the next build!
