Adding canonicals to Total CMS Blog pages

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

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

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

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

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

Is this correct?

You forgot the rest of the url

Thanks Joe! :grinning:

1 Like

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