• Resolved lucari

    (@lucari)


    Hello, I need to migrate a website where I used WPeMatico.

    In my original website WPeMatico worked great, fetched all the posts in my feed regularly and published them with a link to the source articles, exactly as I set in the preferences.

    In my new domain, I copied all posts and plugin etc . WPeMatico it works fine with newly fetched posts, but the oldest posts (copied from the original website) are not linked to the source posts, even if the source URL is visible in the backend of the post.
    How can I solve it and link older posts to their source again?

    Also, I noticed that all the posts have a WPeMatico panel in the backend, with some read-only info, and the oldest ones (those that are not linked to the source anymore) have the field “published by campaign” empty, but it’s not editable.

    Thanks for your great plugin and for your availability

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author etruel

    (@etruel)

    Also, I noticed that all the posts have a WPeMatico panel in the backend, with some read-only info, and the oldest ones (those that are not linked to the source anymore) have the field “published by campaign” empty, but it’s not editable.

    Hi @lucari
    The quote above should be the problem.
    When a campaign is running, WPeMatico save some custom fields in each fetched post, so if you exported all the posts from your previous domain without these custom fields, the plugin can’t find the Source URL in each post to make the link to the source.

    Hope this help you to make it work by exporting all the custom fields inside the old posts.

    Regards

    Thread Starter lucari

    (@lucari)

    @etruel thank you so much, it worked like a charm!
    if anyone had the same issue, this is how I did it:

    1. in the original website/domain, export posts via in Tools > Export; there you can also choose to export WPE Campaigns
    2. go to the new website/domain, import only your campaigns or create a new one manually
    3. After you created or imported your campaigns in the new website/domain, note down the campaigns IDs
    4. get back to the XML export file from the original website/domain and look for strings like this
      <wp:meta_key><![CDATA[wpe_campaignid]]></wp:meta_key>
      <wp:meta_value><![CDATA[123]]></wp:meta_value>

      where 123 is the campaign ID. If the new campaigns have different IDs compared to the original domain, simply change it with your favourite text/code editor.

    5. Import the edited XML via Tools > Import and you’re done!
    Plugin Author etruel

    (@etruel)

    Awesome!
    Thanks for sharing your experiences

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Copy / migrate website and relink posts to source’ is closed to new replies.