# Canonical Tag Issue in Elements CMS

**URL:** <https://forums.realmacsoftware.com/t/canonical-tag-issue-in-elements-cms/51033>\
**Category:** Elements CMS\
**Created:** [September 15, 2025, 8:58pm UTC](https://forums.realmacsoftware.com/t/canonical-tag-issue-in-elements-cms/51033 "2025-09-15T20:58:10Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Pegasus](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/pegasus/32/25035_2.png) [@Pegasus](https://forums.realmacsoftware.com/u/Pegasus)\
**Post date:** [September 15, 2025, 8:58pm UTC](https://forums.realmacsoftware.com/t/canonical-tag-issue-in-elements-cms/51033/1 "2025-09-15T20:58:10Z")

</div>

@ben The `rel="canonical"` tag does not work in Elements CMS.

While checking and reviewing the source code, I just discovered that for blog posts in Elements CMS, the SLUG is not being correctly replaced in the `rel="canonical"` tag.

See the screenshot.

 ![Bildschirmfoto 2025-09-15 um 22.48.11](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/5/c/5c30b8a93bec93ecc2848ab7ac67314a62f738b0.jpeg)

It would be great if this could be fixed so that the blog posts can be indexed by Google.

Also, when I activate the Open Graph meta tags under the CMS item, they are also not being replaced or outputted.

 ![Bildschirmfoto 2025-09-15 um 23.00.36](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/7/a/7a5137bf1eea0a3f8f5a3b25ce8c3a7d2ea6df0b.png)  
 ![Bildschirmfoto 2025-09-15 um 23.00.58](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/b/d/bd700aea4cada98599dfdf72843076d6b476904e.png)

---

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [September 17, 2025, 11:44am UTC](https://forums.realmacsoftware.com/t/canonical-tag-issue-in-elements-cms/51033/2 "2025-09-17T11:44:55Z")

</div>

could you send me a project with the issue so I can take a closer look? 🙂

---

<div class="post-metadata">

**Author:** ![Pegasus](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/pegasus/32/25035_2.png) [@Pegasus](https://forums.realmacsoftware.com/u/Pegasus)\
**Post date:** [September 17, 2025, 11:55am UTC](https://forums.realmacsoftware.com/t/canonical-tag-issue-in-elements-cms/51033/3 "2025-09-17T11:55:32Z")

</div>

you can see this with elements cms project.

- Project: elementsapp://downloadDocument/iyaFQsPZ4B87

 ![Bildschirmfoto 2025-09-17 um 13.58.45](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/d/e/dec18db92c69a8cf5b1d56fa0e113b61ede88178.jpeg)

---

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [September 18, 2025, 6:52am UTC](https://forums.realmacsoftware.com/t/canonical-tag-issue-in-elements-cms/51033/4 "2025-09-18T06:52:38Z")

</div>

Thanks! I’ve just checked this here and…

1. The CMS doesn’t currently support updating/setting the canonical URL — we need to add support for that.
2. The Open Graph tags not being set is a bug — we need to fix that!

I’ve added both of these to the list and will get to them ASAP 🙂

---

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [September 22, 2025, 1:31pm UTC](https://forums.realmacsoftware.com/t/canonical-tag-issue-in-elements-cms/51033/5 "2025-09-22T13:31:09Z")

</div>

just been digging in to this some more, and the open graph stuff does work on published sites — it won’t work in some situations when previewing locally due to some technical reasons.

The canonical link is more tricky, we will need to add a feature to Elements to make this happen. I can’t say when we’ll get around to this as we have a few other pressing issues we need to get to first.

---

<div class="post-metadata">

**Author:** ![Pegasus](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/pegasus/32/25035_2.png) [@Pegasus](https://forums.realmacsoftware.com/u/Pegasus)\
**Post date:** [September 22, 2025, 1:48pm UTC](https://forums.realmacsoftware.com/t/canonical-tag-issue-in-elements-cms/51033/6 "2025-09-22T13:48:53Z")

</div>

Wouldn’t it maybe be a simple solution to take the “slug” from the markdown frontmatter and use that?

Anyway, I’ve now started creating “blog articles” directly in Elements. That way all the {{ item.parameter }} are included, the correct canonical is applied, and I save myself the redirect to the “pretty URL” 🙂

---

<div class="post-metadata">

**Author:** ![Ulrich](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ulrich/32/29764_2.png) [@Ulrich](https://forums.realmacsoftware.com/u/Ulrich)\
**Post date:** [December 1, 2025, 1:23pm UTC](https://forums.realmacsoftware.com/t/canonical-tag-issue-in-elements-cms/51033/7 "2025-12-01T13:23:36Z")

</div>

Hi @Ben, are there any news regarding the _canonical_ aspect of CMS posts?

As a reminder: All posts have the same `canonical` entry and should therefore use their URLs.

 ![image](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/3X/0/b/0bd18e01aac199cbb0dc7084e6f069f1ca14eebc.png)

---

<div class="post-metadata">

**Author:** ![ben](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/ben/32/28488_2.png) [@ben](https://forums.realmacsoftware.com/u/ben)\
**Post date:** [December 2, 2025, 10:17am UTC](https://forums.realmacsoftware.com/t/canonical-tag-issue-in-elements-cms/51033/8 "2025-12-02T10:17:05Z")

</div>

yes, this one is on the list and should be fixed up in the near future 🙂
