HubSpot Ideas

JKelleher

Change sitemap URL

The HubSpot-generated sitemap can only be hosted at [subdomain].[yourdomain].[tld]/sitemap.xml - for example: www.yourdomain.com/sitemap.xml

 

This is fine when using CMS Hub Professional. It's fine when using CMS Hub Enterprise without reverse proxy. It can become very problematic when using reverse proxy. 

 

If, for example, you're using reverse proxy to put your HubSpot-hosted content on www.yourdomain.com/hubspot-hosted-content then HubSpot will still try to put the sitemap at www.yourdomain.com/sitemap.xml 

 

In many reverse proxy situations, you are likely to want three sitemaps: 

- the first for the domain as a whole (www.yourdomain.com/sitemap.xml) (which will just show where to find the other two sitemaps)

- the second for the content hosted outside of HubSpot (www.yourdomain.com/non-hubspot/sitemap.xml)

- the third for your HubSpot-hosted content www.yourdomain.com/hubspot-hosted-content/sitemap.xml

 

At the moment, this isn't possible, which causes significant limitations with the new reverse proxy feature. 

2 Replies
TesaReichts
Contributor

We have the exact same issue. Any changes on that anytime soon?

SiewSiew
Participant | Diamond Partner

HS team, 

We have exact same issue, please review and release this feature soon

Thanks