APIs & Integrations

Sameer
Participant | Platinum Partner
Participant | Platinum Partner

How to migrate the HubSpot blog to Wordpress

Our website is currently in HubSpot and we need to migrate the blog HubSpot to Wordpress. We have around 1000 blogs.

Let us know as soon as possible how we move it once.

Thanks!

5 Replies 5
Jake_Lett
Guide | Partner
Guide | Partner

How to migrate the HubSpot blog to Wordpress

I recently went through this process and wrote a short tutorial on the steps to take. You can read it here: https://bootstrapcreative.com/how-to-migrate-a-hubspot-blog-to-wordpress/

cbarley
HubSpot Alumni
HubSpot Alumni

How to migrate the HubSpot blog to Wordpress

Hi @sameer, @Matt_Scott, that's a really clever use of HubL! Sameer, if you haven't seen, we do have a knowledge base article on exporting pages from HubSpot if you'd like to check that out here: https://knowledge.hubspot.com/articles/kcs_article/cos-general/how-do-i-export-my-website-data-when-...

0 Upvotes
dianna
Contributor

How to migrate the HubSpot blog to Wordpress

Your export option does not give you a CSV option??

0 Upvotes
matt_scott
Top Contributor | Platinum Partner
Top Contributor | Platinum Partner

How to migrate the HubSpot blog to Wordpress

I found a bit of a hacky way of doing this, if you create a new blog template that formats the data as a csv you can then import that to wordpress via one of the many plugins

{% if is_listing_view %} "post_title","post_body","featured_image","author","topics","post_date","meta_title","meta_description" {% for content in contents %} "{{ content.name|replace('"','""')|replace(' ','') }}","{{ content.post_body|replace('"','""')|replace(' ','') }}","{{ content.featured_image|replace('"','""')|replace(' ','') }}","{{ content.blog_post_author|forceescape|replace('"','""')|replace(' ','') }}","{{ content.topic_list|forceescape|replace('[','')|replace(']','')|replace('"','""')|replace(' ','') }}","{{ content.publish_date|forceescape|replace('"','""')|replace(' ','') }}","{{ content.html_title|replace('"','""')|replace(' ','') }}","{{ content.meta_description|replace('"','""')|replace(' ','') }}"{% endfor %}{% endif %}

you will need to change the posts per page option to over 1000 to show all the posts at once

Matthew Scott
Head of Development | Hubspot Solutions Architect

B2B marketing agency: Specialist B2B content marketing and demand generation for SaaS vendors and HubSpot Users | Deeply Digital | HubSpot Partner since 2010


01926 334003

deeplydigital.co.uk

3 Morton Street, Leamington Spa, CV32 5SY, UK
0 Upvotes
Sameer
Participant | Platinum Partner
Participant | Platinum Partner

How to migrate the HubSpot blog to Wordpress

Hi @matt_scott,

 

Thank you for this. 🙂

 

I used this method to migrate >> https://www.inboundmantra.com/blog/how-to-migrate-your-blog-from-hubspot-to-wordpress

0 Upvotes