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 is recommended to add self-referencing canonical URLs to individual pages and posts so that search engines recognize this URL as the authoritative version.
- 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).
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, choosing to set each blog listing page's canonical URL to the first page in its series prevents search engines from finding subsequent paginated pages.
Add or edit a canonical URL for an individual blog post, landing page, or website page
- In your HubSpot Marketing Hub Basic, Professional, or Enterprise account, navigate to website pages, landing pages, or blog posts.
- Hover over an existing page or post and click Edit.
- Click the Settings tab.
- Click Advanced Options. Enter a custom canonical URL in the Customize canonical URL field.
- In the upper right, 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.