# Adding canonicals to Total CMS Blog pages

**URL:** <https://forums.realmacsoftware.com/t/adding-canonicals-to-total-cms-blog-pages/24326>\
**Category:** RapidWeaver Classic\
**Created:** [January 4, 2019, 7:51am UTC](https://forums.realmacsoftware.com/t/adding-canonicals-to-total-cms-blog-pages/24326 "2019-01-04T07:51:25Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![garth](https://avatars.discourse-cdn.com/v4/letter/g/ba9def/32.png) [@garth](https://forums.realmacsoftware.com/u/garth)\
**Post date:** [January 4, 2019, 7:51am UTC](https://forums.realmacsoftware.com/t/adding-canonicals-to-total-cms-blog-pages/24326/1 "2019-01-04T07:51:25Z")

</div>

Hi everyone!

I have a question about canonicals and Total CMS. Our SEO guy wants me to add canonicals to Total CMS blog pages, but I don’t think I’m able to edit the of a blog post, correct?

For example, he wants me to add this canonical:  
`<link rel="canonical" href="https://cbmlawyers.com/about/firm-news/post/?permalink=cbm-nominated-for-business-excellence-award-2017" />`

…to this page: [https://cbmlawyers.com/about/firm-news/post/?permalink=cbm-nominated-for-business-excellence-award-2017](https://cbmlawyers.com/about/firm-news/post/?permalink=cbm-nominated-for-business-excellence-award-2017)

Since it’s a Total CMS blog page, how do I add this? Can I add it to the ? Or does it have to be in the ? Is there a way to edit the on a Total CMS blog post?

@zeebe @joeworkman

---

<div class="post-metadata">

**Author:** ![joeworkman](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/joeworkman/32/23780_2.png) [@joeworkman](https://forums.realmacsoftware.com/u/joeworkman)\
**Post date:** [January 4, 2019, 4:36pm UTC](https://forums.realmacsoftware.com/t/adding-canonicals-to-total-cms-blog-pages/24326/2 "2019-01-04T16:36:11Z")

</div>

Use the Blog Macros to insert the permalink into the meta tag in the header.

---

<div class="post-metadata">

**Author:** ![garth](https://avatars.discourse-cdn.com/v4/letter/g/ba9def/32.png) [@garth](https://forums.realmacsoftware.com/u/garth)\
**Post date:** [January 4, 2019, 4:48pm UTC](https://forums.realmacsoftware.com/t/adding-canonicals-to-total-cms-blog-pages/24326/3 "2019-01-04T16:48:25Z")

</div>

Great idea! Will try that! Thanks @joeworkman!!

---

<div class="post-metadata">

**Author:** ![garth](https://avatars.discourse-cdn.com/v4/letter/g/ba9def/32.png) [@garth](https://forums.realmacsoftware.com/u/garth)\
**Post date:** [January 5, 2019, 6:47am UTC](https://forums.realmacsoftware.com/t/adding-canonicals-to-total-cms-blog-pages/24326/4 "2019-01-05T06:47:51Z")

</div>

Joe, I put this in the of the page:  
`<link rel="canonical" href="%blogPermalink()%" />`

And this is how it looks when i publish it:  
 ![28%20AM](https://europe1.discourse-cdn.com/flex005/uploads/realmacsoftware1/original/2X/d/d76ba0bc165401d7893ce97dcf3f00aa88e24e75.png)

Is this correct?

---

<div class="post-metadata">

**Author:** ![joeworkman](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/joeworkman/32/23780_2.png) [@joeworkman](https://forums.realmacsoftware.com/u/joeworkman)\
**Post date:** [January 5, 2019, 7:20am UTC](https://forums.realmacsoftware.com/t/adding-canonicals-to-total-cms-blog-pages/24326/5 "2019-01-05T07:20:49Z")

</div>

You forgot the rest of the url

---

<div class="post-metadata">

**Author:** ![garth](https://avatars.discourse-cdn.com/v4/letter/g/ba9def/32.png) [@garth](https://forums.realmacsoftware.com/u/garth)\
**Post date:** [January 8, 2019, 7:59am UTC](https://forums.realmacsoftware.com/t/adding-canonicals-to-total-cms-blog-pages/24326/6 "2019-01-08T07:59:58Z")

</div>

Thanks Joe! 😀

---

<div class="post-metadata">

**Author:** ![system](https://dub1.discourse-cdn.com/flex005/user_avatar/forums.realmacsoftware.com/system/32/25301_2.png) [@system](https://forums.realmacsoftware.com/u/system)\
**Post date:** [February 7, 2019, 6:01pm UTC](https://forums.realmacsoftware.com/t/adding-canonicals-to-total-cms-blog-pages/24326/7 "2019-02-07T18:01:26Z")

</div>

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.
