# Duplicated draft content with the same URL path as live content overwrites the live content without publishing

**URL:** <https://forum.builder.io/t/duplicated-draft-content-with-the-same-url-path-as-live-content-overwrites-the-live-content-without-publishing/5814>\
**Category:** Bugs\
**Created:** [June 18, 2024, 10:12am UTC](https://forum.builder.io/t/duplicated-draft-content-with-the-same-url-path-as-live-content-overwrites-the-live-content-without-publishing/5814 "2024-06-18T10:12:05Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![abrasumente](https://avatars.discourse-cdn.com/v4/letter/a/35a633/32.png) [@abrasumente](https://forum.builder.io/u/abrasumente)\
**Post date:** [June 18, 2024, 10:12am UTC](https://forum.builder.io/t/duplicated-draft-content-with-the-same-url-path-as-live-content-overwrites-the-live-content-without-publishing/5814/1 "2024-06-18T10:12:05Z")

</div>

One of our users duplicated a live page, edited the contents of the draft/duplicated version (keeping the url the same) DIDN’T hit publish, but the changes they made in the draft appeared on the live site.

If this is intended behaviour then it seems extremely risky, surely there needs to be an obvious prompt to change the url of duplicated pages first before making changes or have a new one generated automatically before the user is allowed to edit the page? Nothing in the documentation or the editor states that draft content will override live content.

_Please fill out as many of the following questions as possible so we can help you promptly! If you don’t know how to answer or it does not apply, feel free to remove it or leave it blank._

**Builder content link**

> **[Builder.io: Visual Development Platform](https://builder.io/content/34b81711b2094396aff74d511c613c33)**
>
> Drag and drop with your components, right within your existing site or app. Build and optimize digital experiences for any tech stack, visually..

**Builder public api key**  
42af8af65aa7499b99e3c273c4769b3b

**Detailed steps to reproduce the bug**  
Duplicate the page but do not change the page url  
Edit the content on the duplicated draft page, do not publish  
Visit the live version of the page outside of [builder.io](http://builder.io)  
Edited, draft content appears on the live version of the page

**Code stack you are integrating Builder with**  
NextJS, React

---

<div class="post-metadata">

**Author:** ![anon43891756](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@anon43891756](https://forum.builder.io/u/anon43891756)\
**Post date:** [June 25, 2024, 9:03am UTC](https://forum.builder.io/t/duplicated-draft-content-with-the-same-url-path-as-live-content-overwrites-the-live-content-without-publishing/5814/2 "2024-06-25T09:03:07Z")

</div>

Hi @abrasumente Welcome to [Builder.io](http://Builder.io) Forum!

I agree this is not the expected behavior and we are not able to reproduce it internally. Is this the URL [https://heatable.co.uk/new-boilers/worcester-bosch-boilers](https://heatable.co.uk/new-boilers/worcester-bosch-boilers) where the issue happened?

---

<div class="post-metadata">

**Author:** ![anon43891756](https://avatars.discourse-cdn.com/v4/letter/a/50afbb/32.png) [@anon43891756](https://forum.builder.io/u/anon43891756)\
**Post date:** [June 25, 2024, 11:18am UTC](https://forum.builder.io/t/duplicated-draft-content-with-the-same-url-path-as-live-content-overwrites-the-live-content-without-publishing/5814/3 "2024-06-25T11:18:02Z")

</div>

@abrasumente could you please also share the builder integration code?
