# Publishing issue with duplicated site

**URL:** <https://forums.realmacsoftware.com/t/publishing-issue-with-duplicated-site/55575>\
**Category:** Elements\
**Created:** [April 8, 2026, 9:47am UTC](https://forums.realmacsoftware.com/t/publishing-issue-with-duplicated-site/55575 "2026-04-08T09:47:07Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![tati](https://avatars.discourse-cdn.com/v4/letter/t/3be4f8/32.png) [@tati](https://forums.realmacsoftware.com/u/tati)\
**Post date:** [April 8, 2026, 9:47am UTC](https://forums.realmacsoftware.com/t/publishing-issue-with-duplicated-site/55575/1 "2026-04-08T09:47:07Z")

</div>

Hi everyone,

I have decided to switch my old RapidWeaver site to Elements. I already published another site with a different website link with Elements and liked it, so I duplicated the whole site and changed the content, background etc.

Now, when I published this new site to my host and open the web page, it shows me this error on my website without showing any pages :

```auto
var RWElements={};

RWElements.rwDF40D1C0_F129_450E_9A21_640012E4DB03 = {};
RWElements.rwDF40D1C0_F129_450E_9A21_640012E4DB03 = (function(componentId) {
    
console.log(`Running JS for element with id: `)

return componentId;})(RWElements.rwDF40D1C0_F129_450E_9A21_640012E4DB03);

```

Could it be that duplicating the site’s address caused this error?

I found my first copied website’s address in the .htaccess and in the template and changed that, but unfortunately, that didn’t solve the problem. I couldn’t find anything else I could correct.

I have deleted the old site entirely on the host site and republished it, but nothing works. In the meantime, I re-uploaded my old site to have something online.

Here is the link to the cloud: elementsapp://downloadDocument/KyMfhDaKbMFx

Could someone hint at what I did wrong?

Thanks so much

---

<div class="post-metadata">

**Author:** ![MichaelDroste](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/michaeldroste/32/37212_2.png) [@MichaelDroste](https://forums.realmacsoftware.com/u/MichaelDroste)\
**Post date:** [April 8, 2026, 11:11am UTC](https://forums.realmacsoftware.com/t/publishing-issue-with-duplicated-site/55575/2 "2026-04-08T11:11:56Z")

</div>

Do you have server access? You could delete everything and reload a new fresh copy

Warning ⚠ if you have other addons or stores or forums or other things Do NOT do what I’m suggesting…

What kind of website?

---

<div class="post-metadata">

**Author:** ![tati](https://avatars.discourse-cdn.com/v4/letter/t/3be4f8/32.png) [@tati](https://forums.realmacsoftware.com/u/tati)\
**Post date:** [April 8, 2026, 1:32pm UTC](https://forums.realmacsoftware.com/t/publishing-issue-with-duplicated-site/55575/3 "2026-04-08T13:32:27Z")

</div>

Thanks, I have done that several times already. I deleted my old site completely from the server and uploaded the new one, but my site is still not visible 😕

It’s a simple website, nothing special… could it maybe be because I uploaded several external YouTube resources? Just thinking out loud…

---

<div class="post-metadata">

**Author:** ![PMUK](https://avatars.discourse-cdn.com/v4/letter/p/7993a0/32.png) [@PMUK](https://forums.realmacsoftware.com/u/PMUK)\
**Post date:** [April 8, 2026, 1:34pm UTC](https://forums.realmacsoftware.com/t/publishing-issue-with-duplicated-site/55575/4 "2026-04-08T13:34:19Z")

</div>

@differentdan can you help here. TIA

---

<div class="post-metadata">

**Author:** ![MichaelDroste](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/michaeldroste/32/37212_2.png) [@MichaelDroste](https://forums.realmacsoftware.com/u/MichaelDroste)\
**Post date:** [April 8, 2026, 2:00pm UTC](https://forums.realmacsoftware.com/t/publishing-issue-with-duplicated-site/55575/5 "2026-04-08T14:00:02Z")

</div>

@differentdan is excellent and will get you sorted…

---

<div class="post-metadata">

**Author:** ![differentdan](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/differentdan/32/33530_2.png) [@differentdan](https://forums.realmacsoftware.com/u/differentdan)\
**Post date:** [April 8, 2026, 4:08pm UTC](https://forums.realmacsoftware.com/t/publishing-issue-with-duplicated-site/55575/6 "2026-04-08T16:08:48Z")

</div>

Hi @tati

Site seems to be loading fine when I upload it and test on my end..

 ![site-loading-fine](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/5/f/5fce7d3121c937e2169dbfc2b32a48127a02ac86.jpeg)

Can you upload it again so I can see any errors that might be popping up when it’s loading from your web hosting provider?

---

<div class="post-metadata">

**Author:** ![tati](https://avatars.discourse-cdn.com/v4/letter/t/3be4f8/32.png) [@tati](https://forums.realmacsoftware.com/u/tati)\
**Post date:** [April 9, 2026, 11:10am UTC](https://forums.realmacsoftware.com/t/publishing-issue-with-duplicated-site/55575/7 "2026-04-09T11:10:42Z")

</div>

Thanks, I found the problem in the meantime.

I had index.php instead of index.html

Don’t know how that happened…

Thank you so much for looking into this.
