Importing Wordpress data into Sitefinity

Posted by Community Admin on 03-Aug-2018 20:16

Importing Wordpress data into Sitefinity

All Replies

Posted by Community Admin on 25-Jan-2012 00:00

Has anyone successfully imported existing wordpress content into Sitefinity? We are currently working on feasibility on making the transition from wordpress to sitefinity.

Posted by Community Admin on 30-Jan-2012 00:00

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

Posted by Community Admin on 07-Feb-2012 00:00

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?

Posted by Community Admin on 10-Feb-2012 00:00

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

Posted by Community Admin on 15-Apr-2014 00:00

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

Posted by Community Admin on 29-Apr-2014 00:00

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. :)

Posted by Community Admin on 02-May-2014 00:00

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

Posted by Community Admin on 06-May-2014 00:00

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

https://github.com/timw255/WordPressToSitefinity

Posted by Community Admin on 13-Aug-2016 00:00

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.

This thread is closed