Skip to content

Set canonical URLs for duplicate content

Last updated: October 31, 2023

Available with any of the following subscriptions, except where noted:

All products and plans

If you are hosting duplicate content in multiple pages of your website, setting a canonical URL will tell search engines which content contains the preferred version. 

Manage canonical URL settings

By default, when you create a new page or blog post, its URL is set as canonical for that content. This is the recommended setting, as it helps search engines recognize that your content is authoritative. In contrast, blog listing pages do not have canonical URLs set by default - this helps search engines find subsequent pages for the same blog listing page. 

You can change either of these default settings in your website settings: 

  • In your HubSpot account, click the settings settings icon in the main navigation bar.
  • In the left sidebar menu, navigate to Website > Pages.
  • Click the SEO & Crawlers tab.
  • For pages and blog posts, select a canonical URL setting. If you select Don't add canonical URLs to any pages or blog postsyou will need to manually set canonical URLs.

  • For blog listing pagesselect a canonical URL setting. If you select Set each blog listing page's canonical URL to the first page in its series, search engines may be unable to find subsequent pages for your blog listing page.
  • In the bottom left, click Save. 

Add or edit canonical URLs for individual posts and pages

You can manually add or edit a canonical URL for a blog post or page. Canonical URLs set this way will take priority over your canonical URL settings. 

Please note: canonical URLs cannot be set for pages using starter templates, as these pages do not have access to advanced settings. 

  • Navigate to your content:

    • Website Pages: In your HubSpot account, navigate to Marketing > Website > Website Pages.
    • Landing Pages: In your HubSpot account, navigate to Marketing > Landing Pages.
    • Blog: In your HubSpot account, navigate to Marketing > Website > Blog.
  • Hover over an existing page or post and click Edit.
  • In the content editor, click the Settings menu and select Advanced
  • In the Customize canonical URL field in the dialog box, enter a canonical URL for the page or post's content. This is the URL search engines will prioritize when displaying search results relevant to this content. 

customize-a-canonical-url

  • To take your changes live, click Publish or Update in the top right.
Was this article helpful?
This form is used for documentation feedback only. Learn how to get help with HubSpot.