Clone website for testing

Hi,

My company’s website is managed through HubSpot. Is it possible to clone my website and use the clone version as a testing environment before I publish my content on the real website? The preview feature of HubSpot CMS is too limited. I often only discover mistakes once my page is published so looking for a work-around as close to a staging environment as possible. Any recommendations welcome. Thanks, Eugenie

Hi @SarahOps, you can definetely clone a Website for testing purposes, just click the Clone button.

If you want to publish it just for testing, then I recommend adding “noindex, nofollow” meta tags. Here’s an article about it: Using Noindex, Nofollow HTML Metatags: How to Tell Google Not to Index a Page in Search
BUT here’s the catch, this will only allow you to test content on the page.

If what you want is to update the code, you should clone your template also and assign it to the new cloned page. The reason why is that if you update the template, it will affect all pages under this template.

Hi @albertsg ,

Thanks for the tip. If my understanding is correct, this is on a page-by-page basis correct? Do you know if there is a way I could clone the whole website in 1 click? Also, as a follow-up question, if a page is “noindex” and “nofollow”, and it contains a form, would I still be able to test the form? Thanks

Hi again @SarahOps, I believe there is no “one button” way to clone the whole site, you would need to do it page by page.

Maybe it’s worth to set up a Sandbox account to test everything before release it to production. Here you have more info about it: Create a sandbox and deploy changes to production
Regarding the follow-up question, noindex - nofollow just avoids this page to be indexed, but it won’t prevent any functionality to work. So if you have a form in the page, it will work as it works in the “main” page.

Hi @albertsg, understood, thank you!

Re. Sandbox account, I have a sandbox account set up already. Do you know if it is possible to connect the same website domain to a production and sandbox account?

Thanks,

Eugenie

I don’t think it’s possible to connect the same domain to both accounts. But Hubspot Support could give you more information about this, maybe they have a different approach to your question :slightly_smiling_face:

To reduce fraud or cyber-crime risks, Arteris IP will never instruct you to change wire payment instructions or bank account details using email or fax. If you receive such an email or fax appearing to be from Arteris IP, please call your Arteris IP’s contact to verify. Please do not verify by email.