# Elements CMS - Pretty URLs

**URL:** <https://forums.realmacsoftware.com/t/elements-cms-pretty-urls/50852>\
**Category:** Elements CMS\
**Created:** [September 8, 2025, 4:56pm UTC](https://forums.realmacsoftware.com/t/elements-cms-pretty-urls/50852 "2025-09-08T16:56:04Z")\
**Posts on this page:** 1\
**Showing post:** 5

<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 16, 2025, 9:08am UTC](https://forums.realmacsoftware.com/t/elements-cms-pretty-urls/50852/5 "2025-09-16T09:08:39Z")

</div>

I tried setting it up with @ben’s configuration, but I just couldn’t get it to work — there’s always some kind of conflict.

Either the correct slug gets generated for the URL, or the layout breaks.

@ulrich

It looks like you’re running into the same issue. From what I can see, you’ve managed to get the slug routing working, but now the layout no longer works correctly for the post collection:

> **[Artikel | CORNROW](https://www.cornrow.de/artikel/)**
>
> Artikel - CORNROW Curly Coated Retriever, gesunde, typische Hunde-Welpen aus liebevoller Zucht. Jetzt mehr über unsere Welpen erfahren!

…and also not for the individual post layout:

> **[Artikel | CORNROW](https://www.cornrow.de/artikel/3_welpen_suchen_noch_ein_zuhause)**
>
> Artikel - CORNROW Curly Coated Retriever, gesunde, typische Hunde-Welpen aus liebevoller Zucht. Jetzt mehr über unsere Welpen erfahren!

For me, this means I’ll probably have to wait until there’s more information in the [Elements CMS manual](https://docs.realmacsoftware.com/elements-docs/cms). And unless there’s a fix for this issue:

> [@Canonical Tag Issue in Elements CMS](https://forums.realmacsoftware.com/t/canonical-tag-issue-in-elements-cms/51033):
>
> @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. 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. …

…running a blog just doesn’t make much sense for now.

---

_[View the full topic](https://forums.realmacsoftware.com/t/elements-cms-pretty-urls/50852)._
