CMS Development

SandyG1
投稿者 | Solutions Partner
投稿者 | Solutions Partner

Switching out blog templates whilst site is live

解決

Whats the best method of staging or applying a new template to a blog?
We have a situation where we need to keep all the slugs & meta data the same but change the template. This causes all the module data to go for each blog article. We need to then replace all the content, which is fine..

I just don't want to change the template and suddenly all the articles have no content whilst being live until I put all the content back in.

anyone got a good method of keeping all the old stuff live until we're ready with the new stuff?

0 いいね!
1件の承認済みベストアンサー
Anton
解決策
名誉エキスパート | Diamond Partner
名誉エキスパート | Diamond Partner

Switching out blog templates whilst site is live

解決

Hi @SandyG1

since there is no way to stage a blog (up to now) - the only thing that you could do is create a new blog and apply the new template to it and set it to "noindex,nofollow". After you've migrated all the posts you can switch the link(s) in your navigation(s) and change the urls of the blogs. 

 

For example: 

 

Your current blog runs on https://yourdomain.com/blog
you create a new blog on https://yourdomain.com/new-blog

 

When finished you go to the blog settings and change it as follows:

current/old blog: https://yourdomain.com/old-blog

new blog: https://yourdomain.com/blog

 

HubSpot will create redirects for every domain change so you could/shoud clean that up after switching the blogs

 

 

best,

Anton

Anton Bujanowski Signature

元の投稿で解決策を見る

1件の返信
Anton
解決策
名誉エキスパート | Diamond Partner
名誉エキスパート | Diamond Partner

Switching out blog templates whilst site is live

解決

Hi @SandyG1

since there is no way to stage a blog (up to now) - the only thing that you could do is create a new blog and apply the new template to it and set it to "noindex,nofollow". After you've migrated all the posts you can switch the link(s) in your navigation(s) and change the urls of the blogs. 

 

For example: 

 

Your current blog runs on https://yourdomain.com/blog
you create a new blog on https://yourdomain.com/new-blog

 

When finished you go to the blog settings and change it as follows:

current/old blog: https://yourdomain.com/old-blog

new blog: https://yourdomain.com/blog

 

HubSpot will create redirects for every domain change so you could/shoud clean that up after switching the blogs

 

 

best,

Anton

Anton Bujanowski Signature