+1-888-365-2779
Try Now
More in this section

Forums / General Discussions / Importing Wordpress data into Sitefinity

Importing Wordpress data into Sitefinity

9 posts, 0 answered
  1. Anthony
    Anthony avatar
    17 posts
    Registered:
    23 Jun 2011
    25 Jan 2012
    Link to this post
    Has anyone successfully imported existing wordpress content into Sitefinity? We are currently working on feasibility on making the transition from wordpress to sitefinity.
  2. Stanislav Velikov
    Stanislav Velikov avatar
    1113 posts
    Registered:
    06 Dec 2016
    30 Jan 2012
    Link to this post
    Hello,

     I haven`t migrated wordpress site to Sitefinity, but the process of migration is to move the design related files of wordpress to Sitefinity as master pages and themes as in this documentation.
    The automated way to get content from mysql database and publish it as Sitefinity content is using Sitefinity API.

    Regards,
    Stanislav Velikov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Anthony
    Anthony avatar
    17 posts
    Registered:
    23 Jun 2011
    07 Feb 2012
    Link to this post
    We have managed to import the data into Sitefinity from Wordpress, but the issues we still face are importing the corresponding Tags and Categories. Is there a way we can do this?
  4. Stanislav Velikov
    Stanislav Velikov avatar
    1113 posts
    Registered:
    06 Dec 2016
    10 Feb 2012
    Link to this post
    Hello,

     To add a tag to a blog post:

    var taxManager = TaxonomyManager.GetManager();
               var taxon = taxManager.GetTaxa<FlatTaxon>().Where(t => t.Name == "Book").Single();
               BlogsManager blogsManager = BlogsManager.GetManager();
               var myPost = blogsManager.GetBlogPosts().Where(d => d.Title == "Post1");
               foreach(var doc in myPost)
               {
                   doc.Organizer.AddTaxa("Tags", taxon.Id);
               }
               blogsManager.SaveChanges();
    The approach is the same for adding category. There is no automatic functionality in Sitefinity that will migrate tags and categories. For example if you have imported the blogs posts from RSS feed the feed will not add the categories and tags.Regards,
    Stanislav Velikov
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Megan
    Megan avatar
    1 posts
    Registered:
    14 Mar 2014
    15 Apr 2014 in reply to Anthony
    Link to this post

    Anthony - how were you able to important your Wordpress data in?  Did you find a tool that worked?

  6. Tim
    Tim avatar
    258 posts
    Registered:
    22 Jun 2011
    29 Apr 2014
    Link to this post

    Is anyone still interested in this?

    If so, I'm working on a tool to do this and will release it on GitHub when it's a little closer to complete. Currently, this is the planned feature set.

    • Imports posts to one or more Sitefinity blogs
    • Imports and links (with proper [sfref]) images found in the posts
    • Assigns tags and categories (creates them if they're missing)
    • Imports comments on posts
    • Imports and links thumbnail images, meta descriptions and meta keywords set using Thesis. (If custom fields for the data were created before the import.)

    This thread has a pretty high number of views so...figured I'd leave a reply in it to let folks know. :)

  7. Mike
    Mike avatar
    10 posts
    Registered:
    19 Feb 2014
    02 May 2014 in reply to Tim
    Link to this post

    I'm definitely interested.  Will likely be needing to do this in a couple of weeks.  

  8. Tim
    Tim avatar
    258 posts
    Registered:
    22 Jun 2011
    06 May 2014 in reply to Tim
    Link to this post

    Okie dokie. Work in progress but...here's the repo if you guys wanna check it out or contribute.

    https://github.com/timw255/WordPressToSitefinity

  9. Enterprisefinity
    Enterprisefinity avatar
    6 posts
    Registered:
    04 Aug 2011
    13 Aug
    Link to this post

    Initially, we have also started out using a similar approach as described above when working with smaller client sites. We quickly arrived at the situation where we had to adapt the code every time as every client's site was different. As more content types entered the picture, dependency management also became trickier.

    This ultimately led us to developing a solution which handles export file variations, allows recreating the original page hierarchy, taxonomies, dependencies, supports very large blog post exports and provides a framework for optional WordPress plugins and custom fields among other features. In the end we were able to import entire sites in just one click, provided we had a fitting structure and a good template.

    We can now say that we have a field-tested solution, validated under many different client sites and configurations.

    We're offering the solution as a stand-alone Sitefinity module or as a service to companies who prefer outsourcing the work.

    You can read more about it here.

9 posts, 0 answered