Resolve duplicate content issues

Last updated: October 14, 2020

Applies to:

Marketing Hub  Professional, Enterprise
CMS Hub  Professional, Enterprise
Legacy Marketing Hub Basic

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 canonical URL for blog posts, landing pages, and website pages in HubSpot.

Automatically add self-referencing canonical URLs for all blog posts, landing pages, and website pages (recommended)

It's recommended to add self-referencing canonical URLs to individual pages and posts so that search engines recognize this URL as the authoritative version in search results.

  • In your HubSpot account, click the settings icon settings in the main navigation bar.
  • In the left sidebar menu, navigate to Website > Pages.
  • Click the SEO & Crawlers tab.
  • In the Pages and blog posts setting, select Add self-referencing canonical URLs to all pages and blog posts (Recommended).

  • Click Save to apply your changes to your settings.

Please note: for the Blog listing pages setting, HubSpot recommends that you don't add canonical URLs to blog listing pages. While search engines may flag blog listing pages as duplicate content, setting the blog listing page's canonical URL to the first page prevents search engines from finding any subsequent paginated pages.

Add or edit a canonical URL for an individual blog post, landing page, or website page

  • 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 in the Customize canonical URL setting takes precedence over the Pages and blog posts setting.