Of course! And thanks for updating the code and giving me some extra information.
The canonical tag in the Project Settings is setting the root domain of the project (
yoursite.com) and is used dynamically as needed across all of your other pages. So instead of indexing multiple versions of your root domain across all of your pages (
https://yoursite.com, etc) it would use the domain you set in your settings.
Keep in mind, this field doesn’t need any “code” and should only include the root domain with the protocol—and in your case, it looks like it would also include the subdomain:
If you’d like to have more control over this tag and how it’s used on various pages of your site, you’d want to include a single instance of the canonical tag code on each page within the Page Settings
<head> tag code section—each using the correct slug within the href attribute.
Obviously this is easy for “static” pages as their only used on a single page, but thankfully Webflow offers Dynamic Embeds within the Page Settings so you can assign the proper canonical URL based on the specific Collection Page using the
slug field. Just above the Page Settings code window you’ll find a purple “+ Add Field” link that you can use to augment portions of your code with fields from the collection itself:
Hopefully that helps clarify things a bit, but don’t hesitate to reach out if you’ve got any other questions