APIs & Integrations

parkeristyping
Member

Change the canonical URL included in `standard_header_includes`?

Our site is hosted by HubSpot at https://somesubdomain.ourdomain.com and we want to do some nginx rewrites to serve it at https://www.ourdomain.com, alongside some non-HubSpot pages we want on that domain.

Is there a way to update the canonical URL tag included by {{ standard_header_includes }}, so that we can update it to the www URL?

0 Upvotes
1 Reply 1
boulter
HubSpot Product Team
HubSpot Product Team

Change the canonical URL included in `standard_header_includes`?

Hello,

HubSpot does not support reverse proxy setups in front of HubSpot hosted pages. Configuring a reverse proxy will interfere with SSL, File Hosting, Smart Content, Analytics and number of other features.

We recommend that you maintain a separate domain for your HubSpot pages if you cannot host your entire website on HubSpot.

0 Upvotes