# Source code viewed locally is different then when published

**URL:** <https://forums.realmacsoftware.com/t/source-code-viewed-locally-is-different-then-when-published/53876>\
**Category:** Elements\
**Created:** [January 25, 2026, 6:17pm UTC](https://forums.realmacsoftware.com/t/source-code-viewed-locally-is-different-then-when-published/53876 "2026-01-25T18:17:26Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![MHA](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@MHA](https://forums.realmacsoftware.com/u/MHA)\
**Post date:** [January 25, 2026, 6:17pm UTC](https://forums.realmacsoftware.com/t/source-code-viewed-locally-is-different-then-when-published/53876/1 "2026-01-25T18:17:26Z")

</div>

When I preview my website **locally** on safari browser - icon at top of elements - then view develop\>show source code page, I see the following:

link rel=“canonical” href=[https://mywebsite.com/](https://mywebsite.com/)

When I publish the website to the internet and view the source code, I see the following:

link rel=“canonical” href=[http://mywebsite.com/](http://mywebsite.com/)

I have deleted all files at hosting location and completely republished hoping to get the SSL **https: url** but still in the source code page on the internet, **http: persists**.

The result I believe is causing indexing errors on Google Search Consul.

Any thoughts would be appreciated. Thanks.

---

<div class="post-metadata">

**Author:** ![sbchasin](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/sbchasin/32/26943_2.png) [@sbchasin](https://forums.realmacsoftware.com/u/sbchasin)\
**Post date:** [January 25, 2026, 6:24pm UTC](https://forums.realmacsoftware.com/t/source-code-viewed-locally-is-different-then-when-published/53876/2 "2026-01-25T18:24:13Z")

</div>

Don’t know if this will 100% fix the issue, but make sure the website in Project settings reads https://

 ![Screenshot 2026-01-25 at 13.21.49](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/b/d/bdc70e0d86806b808f44bbff6ac1e0d7adb5ff94.png)

 ![Screenshot 2026-01-25 at 13.21.32](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/0/4/0471ecfdda03ae541f723109c1b543b634c1037e.jpeg)

---

<div class="post-metadata">

**Author:** ![MHA](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@MHA](https://forums.realmacsoftware.com/u/MHA)\
**Post date:** [January 25, 2026, 7:20pm UTC](https://forums.realmacsoftware.com/t/source-code-viewed-locally-is-different-then-when-published/53876/3 "2026-01-25T19:20:36Z")

</div>

Thanks for thinking about this. I checked project setup url early in my attempts to resolve and the SSL url is identified as the website address.

---

<div class="post-metadata">

**Author:** ![MHA](https://avatars.discourse-cdn.com/v4/letter/m/bb73d2/32.png) [@MHA](https://forums.realmacsoftware.com/u/MHA)\
**Post date:** [January 26, 2026, 6:35pm UTC](https://forums.realmacsoftware.com/t/source-code-viewed-locally-is-different-then-when-published/53876/4 "2026-01-26T18:35:49Z")

</div>

I asked Grok about this, an got the following response: the `<link rel="canonical" href="http://thoughtsondying.com/" />` tag is being auto-generated by **Elements** itself — not by LittleOak hosting or core RapidWeaver. Elements pulls the “base URL” or site address from its own settings or from how the site was configured/published, and it sometimes defaults to or sticks with HTTP even after you’ve enabled SSL.

In my original publishing, I may have used the http: url in project set up and changed it later to https: and republished. Is the non-SSL being defaulted to?
