HubSpot addresses duplicate content using canonical URLs. A canonical URL is an HTML element used by search engines to handle duplicate content. For example, you may have similar content on two different pages of your website. Google will recognize the similarity of these pages as it crawls them, resulting in a possible SEO hit. A canonical URL tells search engines which piece of content is the preferred version and prevents your site from being penalized for duplicate content.
You can set the canoncial URL for a blog post, landing page, and website page in your HubSpot Marketing Basic, Professional, or Enterprise account.
To automatically add self-referencing canonical URLs for all blog posts, landing pages, and website pages (recommended):
- In your HubSpot Marketing Basic, Professional, or Enterprise account, navigate to Content > Content Settings.
- In the Canonical URLs section, click the Add self-referencing canonical URLs to all pages and blog posts (Recommended) radio button.
Please note: There is a separate setting for blog listing pages. HubSpot recommends that you don't add canonical URLs to blog listing pages in most cases.
To add or edit a canonical URL for an individual blog post, landing page, or website page:
- In your HubSpot Marketing Basic, Professional, or Enterprise account, navigate to the editor of a blog post, website page, or landing page.
- Click Settings at the top of the editor.
- Click Advanced Options. Enter a custom canonical URL in the Customize canonical URL field. Click Publish to take your changes live.
Please note: Canonical URLs set for specific blog posts, landing pages, and website pages using this setting will overwrite the automatically add self-referencing canonical URLs setting noted above.