Change the canonical URL included in `standard_header_includes`?


#1

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?


#2

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.