# Problem Setting the Preview URL for the Online Editor in the CMS

**URL:** <https://forums.realmacsoftware.com/t/problem-setting-the-preview-url-for-the-online-editor-in-the-cms/56594>\
**Category:** Elements\
**Created:** [June 10, 2026, 10:59am UTC](https://forums.realmacsoftware.com/t/problem-setting-the-preview-url-for-the-online-editor-in-the-cms/56594 "2026-06-10T10:59:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BrettHannam](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@BrettHannam](https://forums.realmacsoftware.com/u/BrettHannam)\
**Post date:** [June 10, 2026, 10:59am UTC](https://forums.realmacsoftware.com/t/problem-setting-the-preview-url-for-the-online-editor-in-the-cms/56594/1 "2026-06-10T10:59:27Z")

</div>

I am having problems setting the Preview URL for the online Editor in the CMS. At present, I cannot get the button to appear and I suspect that this is because I am supplying an incorrect link.

The preview page is:

> **[Case Study](https://test.hannamfamily.org.uk/advice---advocacy/advice/case-studies/case-study/)**

This requires a slug such as item=“scroggy” to work:

> **[Case Study](https://test.hannamfamily.org.uk/advice---advocacy/advice/case-studies/case-study/?item=scroggy)**

I have tried setting the link to the preview page and also setting the link with item={{item.slug}}, as suggested by ElementsBot:

[Case Study](https://test.hannamfamily.org.uk/advice---advocacy/advice/case-studies/case-study/?item=%7B%7Bitem.slug%7D)}

Neither works.

Please could someone who has their editor preview working provide me with an example of a functioning link or explain what I am doing wrong?

Many Thanks

---

<div class="post-metadata">

**Author:** ![BrettHannam](https://avatars.discourse-cdn.com/v4/letter/b/858c86/32.png) [@BrettHannam](https://forums.realmacsoftware.com/u/BrettHannam)\
**Post date:** [June 10, 2026, 7:21pm UTC](https://forums.realmacsoftware.com/t/problem-setting-the-preview-url-for-the-online-editor-in-the-cms/56594/3 "2026-06-10T19:21:17Z")

</div>

As always… nuking the server files, closing down Elements and the Mac, then republishing everything solved the problem. Wish I had thought of it 6 hours ago.
