How Do You Change the Primary Domain in HubSpot CMS?


How Do You Change the Primary Domain in HubSpot CMS?

If you are looking to rebrand your website and change its domain there are a few steps you can take. You will most likely land on this HubSpot knowledge base article which outlines the steps but if you read it quickly you might miss a critical piece of information. At the very bottom there is a note that says “changing your brand or primary/secondary domain will not create redirects“. You would assume it does because that is what you are asking the system to do… change the domain. But it doesn’t.

So What Does Changing the HubSpot Brand Domain Do Then?

Changing the brand name changes the main part of the domain your content to pointing to. your brand domain in this case would be the “yourdomain” part of “www.yourdomain.com”. When a brand domain is changed the system automatically creates a redirect from the old brand domain www.olddomain.com to the new one www.newdomain.com as seen under the Redirected domains section, however, this won’t affect any of the page URLs unless either updated within the individual page settings or creating a flexible redirect.

What if You Want to Change All of the Page Urls in Bulk?

This can be done in bulk in HubSpot under the Domains & URLs > URL Redirects. Here you can create an individual redirect for pages or use a flexible redirect that would update all URLs based on one domain. In this case, a flexible redirect would work best to redirect all content on the www.olddomain.com domain to www.newdomain.com. Below is a screenshot of what the flexible redirect would look like for reference.

One thing also worth mentioning with the flexible redirect is that the URL in the page setting will remain the same but when visited will update (redirect) to the new one. Again, you would assume this would change here as well.

Original URL: www.olddomain.com/*rest-of-url

Redirect to: www.newdomain.com/{rest-of-url}

 

What if I Just Want to Change the Domain on a Single Page or My Blog?

Instead of changing the domain and redirecting all of your content using the old domain. Ignore the flexible redirect and just go to the page you want to change and edit the page settings. Click on the pencil next to the url and if you have redirect domain setup, you can change the domain and update the page.

Here is a guide

Conclusion

So before you change domains you need to ask the question, do I want to change a single page or all of my pages using the old domain? Once you know this you can follow one of the steps above to properly change and redirect to your new domain.

You can contact me if you have any questions regarding this guide.


Written by: Jake Lett
Jake Lett is a B2B marketing consultant with over 15 years of experience in the digital marketing industry. He specializes in SEO, HubSpot, and PPC campaign management. Jake has a proven track record of helping businesses increase their online visibility and drive more traffic, leads and sales. He is a Certified Google Ads Specialist and a Certified HubSpot Developer.

Related posts

Tags: ,

Want to Get Email Updates of New Articles?

Join My Email Newsletter