APIs & Integrations

Ben_Gillies
Mitglied

Hubspot dynamic webpage with multiple canonical urls

We have a Hubspot webpage that implements a JS api to get the dynamic content for the page.
What content to get depends on querystring parameters given to the webpage.

Rather than reading these parameters to determine which content to fetch, is there a way to have multiple Hubspot canonical urls all pointing to this one webpage, so we determine what content to fetch and gain the SEO benefits as well?

0 Upvotes
1 Antwort
Derek_Gervais
HubSpot-Alumnus/Alumna
HubSpot-Alumnus/Alumna

Hubspot dynamic webpage with multiple canonical urls

Hi @Ben_Gillies,

This isn't really possible given the nature of canonical URLs. The canonical URL doesn't really 'point' to a piece of content; instead, it's used to specify the "preferred" or "original" version of a webpage & therefore mitigate duplicate content issues. You can only have one canonical URL for a page, so you wouldn't be able to customize this for a single page with dynamic content.

0 Upvotes