Migrating WordPress to HubSpot with Featured Images
Not sure if this is the right place to ask, but here goes. I'm migrating our WordPress blog over to HubSpot, using the WordPress export function. It has come to my attention that none of the feature images have come across.
Looking at the XML document that's exported from WordPress, there are no references to feature images. I was wondering if anybody else here has had the same issue.
Now, I see that there's a plugin which exports the media file information for each featured image — although separately (at the top of the XML document) from the post dat further down. It looks like I'm going to have to manipulate the XML to get all the data in the correct place (and within <img> tags) so that HubSpot can pull it in.
If there's something I've missed, please let me know. AFAIK, I've followed the correct migration proceedure.
Migrating WordPress to HubSpot with Featured Images
Hi @Liam39steps , I believe this is an issue with how Wordpress generates their XML files, If you send me your HubID I can take a look at the XML file itself. Normally the issue is that the wordpress blogs will have featured images with relative URLs rather than absolute URLs. Can you send me your HubID?
The <wp:attachment_url> image reference needs to be absolute, rather than relative.
Before importing your blog, review all internal links and images to confirm they include the absolute URL instead of a relative URL. This will prevent links and images from breaking in your imported posts.
Beyond this WordPress documentation, I'm not certain exactly which setting or toggle the original poster adjusted to include the featured image. Perhaps you could clarify, @Liam39steps?
Migrating WordPress to HubSpot with Featured Images
Hello!
I saw your answer for a user who was having trouble migrating a WordPress blog to HubSpot with featured images. I saw you ask the user if he/she could send you the xml file in order to help them. I am having the exact same problem, actually I already opened two support tickets but I haven't been able to migrate the WP blog to HubSpot correctly.
Migrating WordPress to HubSpot with Featured Images
Hey @TereB-n-O , I don't work at HubSpot any longer, but it might be possible for @WendyGoh, @IsaacTakushi or @lscanlan to help you out here. The general issue that we see is that Wordpress will generate the XML file using relative paths (so for example, a link will only have the path in it, i.e. /home or /about), but HS needs absolute paths, since the links that are in the XML file are relative to the Wordpress domain and need something to reference. If you spot check the XML file for any reference of URLs that are relative, and not absolute, then you'll likely need to find a way to export the absolute URLs via Wordpress in order to fix the issue.
@TereB-n-O, I see you direct messaged me. Could you share your Hub ID and the IDs of the support tickets you've opened so I can catch up on what you've already tried?
Also, I assume you've already referenced this article?
Migrating WordPress to HubSpot with Featured Images
Connor, sorry for the late response. I managed to adjust the export function in Wordpress to include the featured image. I've now successfully imported posts with featured image intact.
Migrating WordPress to HubSpot with Featured Images
Hi Liam,
I know it's been a while since you've posted, but I am having the exact same difficulty and was wondering if you could explain to me how you adjusted the Wordpress export to include featured image?