Canonical tag CMS

Hello,

I’m trying to add a canonical tag to the head of my page,

There is a way to do this like this

an url with a cms field attached to it, But when a page doesn’t need a canonical the canonical tag stays empty and to be honest I don’t know if that matters.

But what I would like to do is make a cms item that holds the complete canonical tag.

So now I can type the whole tag in my cms field and the cms places it in the header but now when I put my url in the head of the page using the cms field

It looks like this and won’t work
“”

Hope I’m explaining this correctly. Otherwise let me know and ill try to do a better job

Take a look at this blog post https://webflow.com/blog/seo-and-webflow-the-essential-guide. Point 7, I think is what you are looking to accomplish.