Last updated: October 13, 2020
You can import your existing WordPress blog into your HubSpot blog by following the steps below. Squarespace XML files are also compatible with the blog import tool.
The components of your blog that will be imported into HubSpot are: title, post body (including inline images), URL, publish date, author, tags/categories, status, meta description, featured images, and comments. PDF files linked in your posts and images in gallery tags will not be included in an XML import.
Sign in to your WordPress website as a WordPress Admin and navigate to Tools > Export to select your blog posts for export.
After you've exported your WordPress posts, sign in to your HubSpot account.
Please note: by default, the Remove shortcodes from imported posts checkbox will be checked, which will delete any shortcodes from your posts. Click to uncheck this checkbox if you want the raw code of your WordPress shortcodes to show up in your posts.
Once your blog posts have been uploaded to the dashboard, you can import your posts into your HubSpot blog:
To export any redirects for your WordPress posts:
The way you set up your blog redirects depends on how much of your website is now hosted on HubSpot:
If you encounter any issues during the blog import process, review how to troubleshoot the following errors.
If something you were expecting to import did not show up in your blog, check to make sure the desired imported content is in the expected XML tags. If the content you were expecting to import is not in the XML file, check out WordPress support documentation to confirm that all content was selected and exported correctly.
This error means the XML file you tried to import was malformed or has syntax errors which are preventing our blog importer from reading the XML file. We will provide as much detail in the error as possible, and it is possible after correcting the mentioned error, more will arise. This is because the XML parser will stop running after finding an error.
You will see these same errors if you open the XML file in another XML parser, such as Google Chrome. For help resolving the XML errors, refer to the provider of the XML file (WordPress or Squarespace).
This means your XML file referenced an asset (usually an image) that did not lead to an asset. For example, if you see an error like the following:
Retrieval of asset at URL `https://www.image.com/image.jpg` failed. This asset was not uploaded to the file manager.
If you click on the mentioned URL and also confirm that it does not lead to an image, you will need to correct this image URL in the XML file and re-import the posts that were affected. You can also upload the image file to your file manager, and add the images to your post in HubSpot.
Users with publish permissions can control which contacts can access specific HubSpot-hosted pages, blogs and...
Assets across HubSpot can be partitioned so that only the right teams and users can view and edit them. This...
You can add HubSpot Video to your content on your pages, blog posts, and knowledge base articles in a rich...