Jump to:

324 Posts in 153 Topics by 156 members

Migrating a Site to Silverstripe

SilverStripe Forums » Migrating a Site to Silverstripe » Wordpress to SS with 2500+ post

What you need to know when migrating your existing site to SilverStripe.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

Page: 1
Go to End
Author Topic: 1879 Views
  • BuddhaSource
    Avatar
    Community Member
    57 Posts

    Wordpress to SS with 2500+ post Link to this post

    Have been struggling to migrate posts from Wordpress to SilverStripe for last few days.
    I have a WordPress blog with 2500+ posts & need to port it with images.

    Some of the tools available are not optimized to handle big site. Wordpress connector for example shows the post list only when I delete my post & bring it to 500 posts.

    XML importer tool again has its own set of errors.
    Can somebody suggest something that is simple & can handle 2500+ posts?

  • Willr
    Avatar
    Forum Moderator
    5462 Posts

    Re: Wordpress to SS with 2500+ post Link to this post

    You might want to get in touch with Andrew who developed the Wordpress Connector and see if he has had any experience with that many pages. It's a relatively new module so may not have been tried on a site that big.

  • BuddhaSource
    Avatar
    Community Member
    57 Posts

    Re: Wordpress to SS with 2500+ post Link to this post

    Thank Willr,

    I did contact Andrew and he was kind enough to look into the problem. Well according to him the the default Wordpress XML-RPC API does not allow to fetch any sub-set of posts hence we can't get limited number of post at a time. He adviced increasing the memory for PHP to few GB but again no luck.

    However as a work around I deleted my post and brought it down to 600 post. Now atleast these post show up in External Content >> WordpressPostSource. But again the actual import fails. I tried queuing it and got an error, I have attached the file.

  • ajshort
    Avatar
    Community Member
    244 Posts

    Re: Wordpress to SS with 2500+ post Link to this post

    Hey,

    This requires the latest version of the external content and queued jobs module - can you try updating both of those to the latest master?

  • BuddhaSource
    Avatar
    Community Member
    57 Posts

    Re: Wordpress to SS with 2500+ post Link to this post

    Thank Andrew, Worked finally. I thought I was working with latest trunk.

    As of now only content was imported, media & comment import is still not working. Well I can still forget about importing media but comments are critical

  • BuddhaSource
    Avatar
    Community Member
    57 Posts

    Re: Wordpress to SS with 2500+ post Link to this post

    There is inconstancy in the import part, I am trying to import again with same setup its not working. In the previous attempt importing comments failed but content was imported.

    Also there are two external content module on GitHub

    1. https://github.com/ajshort/silverstripe-external-content
    2. https://github.com/nyeholt/silverstripe-external-content

    Jobs - https://github.com/nyeholt/silverstripe-queuedjobs
    WP Connector - https://github.com/ajshort/silverstripe-wordpressconnector

    Environment : Localhost, Apache, MySQL Windows.

    Please advice.

  • Garrett
    Avatar
    Community Member
    245 Posts

    Re: Wordpress to SS with 2500+ post Link to this post

    I can say definitively that an Import of Wordpress Blog content using a WordpressPostContentSource connector with all the latest from github:

    External Content Module 0.2.7
    Blog Module 0.4.1
    Word Press Connector Module 0.1-beta1
    Queued Jobs Module 1.2.3

    Does not work. You get a message saying the import is starting and then nothing happens after that and nothing is imported, even if you kick the task off using http://path.to.silverstripe/dev/tasks/ProcessJobQueueTask.

    Any guidance on this would be greatly appreciated. I have too many posts to do manually.

    Thanks,
    Garrett

    1879 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.