Preview URl is pointing to different page

Hi, We have a problem on this page that the preview URL points to the wrong URL. I tried update the preview URL manually but after refresh the page, the URL went back to the wrong one. Any way to change the preview URL? Also, anyway to check why this page has a wrong preview URL.

Builder content link

Hi @maythee,

Thanks for sharing the content link — that’s really helpful!

The behavior you’re seeing (preview URL reverting after refresh) is most likely caused by a Dynamic Preview URL configured on the model itself. When a model has Dynamic Preview URL logic set, it automatically computes and overrides the per-entry preview URL on every load — which is why your manual edits don’t stick.

Here’s how to check and fix it:

Step 1: Check for Dynamic Preview URL logic on the model

  1. Go to Models in your Builder space
  2. Open the model that this content entry belongs to
  3. Look at the Preview URL field — click the < > (code) icon next to it
  4. If there’s custom code in there, that’s what’s overriding your URL

Step 2: Update the logic to return the correct URL
If the code is returning the wrong path, you’ll need to update it there rather than on the individual content entry. For example, if your page URL is based on a slug field:

if (contentModel.isLive) {
  return `https://your-site.com/${content.data.slug}`
}
return `https://your-site.com/__builder_editing__`

Step 3: If there’s no Dynamic Preview URL logic
If the < > icon shows no custom code, the issue may be that the content entry’s URL path is being set incorrectly at the targeting level. In that case, could you share:

  • The model name this content entry belongs to
  • Your Builder Space ID (found in Account Settings)
  • A screenshot of what the wrong URL is vs. what it should be

For more context, our docs on Dynamic Preview URLs explain how the model-level logic works and how to customize it.

Looking forward to getting this sorted for you!