Change the canonical URL included in `standard_header_includes`?


Our site is hosted by HubSpot at and we want to do some nginx rewrites to serve it at, 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?



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.