PHPackages                             td204/silverstripe-wordpressimport - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. td204/silverstripe-wordpressimport

ActiveSilverstripe-module[Database &amp; ORM](/categories/database)

td204/silverstripe-wordpressimport
==================================

Imports Wordpress content from an exported XML file to Silverstripe Blog (v2.5)

0.3.2(10y ago)04BSD-3-ClausePHP

Since Jan 26Pushed 2y ago1 watchersCompare

[ Source](https://github.com/td204/silverstripe-wordpressimport)[ Packagist](https://packagist.org/packages/td204/silverstripe-wordpressimport)[ RSS](/packages/td204-silverstripe-wordpressimport/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (4)Versions (8)Used By (0)

Wordpress Import Module for silverstripe blog 2.5
=================================================

[](#wordpress-import-module-for-silverstripe-blog-25)

[![Build Status](https://camo.githubusercontent.com/60c29652f8fd502330d7d245b568b17dae0517f2153395a73cdafeea03e503af/68747470733a2f2f7472617669732d63692e6f72672f63616d66696e646c61792f73696c7665727374726970652d776f72647072657373696d706f72742e706e673f6272616e63683d6d6173746572)](https://travis-ci.org/camfindlay/silverstripe-wordpressimport)

Maintainer Contacts
-------------------

[](#maintainer-contacts)

- Terry Duivesteijn (Nickname: td204) &lt;terry (at) loungeroom.nl&gt;

Requirements
------------

[](#requirements)

- mod\_rewrite (optional, if you need to cater for old incoming links and are using Apache)
- SilverStripe Framework &amp; CMS 3.1.x
- silverstripe/blog 1.\*
- silverstripe/comments

Installation Instructions
-------------------------

[](#installation-instructions)

```
composer require td204/silverstripe-wordpressimport

```

This module was forked from: And altered to work with silverstripe-blog 2.5.

If you are running silverstripe-blog 1.x, please go to the original module (untested in this module).

NOTE: After upgrading from blog 1.x to 2.x don't forget to run dev/tasks/BlogMigrationTask as indicated in the silverstripe/blog documentation.

### Usage Overview

[](#usage-overview)

#### Export WordPress data

[](#export-wordpress-data)

In your WordPress admin, go to Tools » Export. Export only the blog posts of your site.

#### Silverstripe

[](#silverstripe)

Make sure you have flushed your site (?flush=1). Go to your Silverstripe admin, edit the main Blog-page in your SiteTree. Click on the tab "Import", select the exported XML-file and click "Import Wordpress XML File".

It will change any links to uploaded images and files in your posts that follow the convention "" to "" which allows you to migrate you uploaded images and files over to SilverStripe assets folder while maintaining images in your posts.

### Optional Rewriting

[](#optional-rewriting)

Add this in your .htaccess file to port old wordpress posts in the form /yyyy/mm/name-of-post/ to new SilverStripe /blog/name-of-post convention.

```
RewriteRule ^[0-9]{4}/[0-9]{2}/(.*)$ /blog/$1 [R,L]

```

Known issues:
-------------

[](#known-issues)

1. Content can lose a lot of the formatting coming from Wordpress.
2. Perhaps parsing the content through a nl2br might help?
3. Image captions need to be catered for and styled otherwise they end up looking like un-parse shortcodes.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~246 days

Total

4

Last Release

3753d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6c78ec7aefabf93d41fbd2d3073df96fd465ea6770bb39c7602d3bab2a452069?d=identicon)[LoungeRoom](/maintainers/LoungeRoom)

---

Top Contributors

[![camfindlay](https://avatars.githubusercontent.com/u/367847?v=4)](https://github.com/camfindlay "camfindlay (30 commits)")[![td204](https://avatars.githubusercontent.com/u/302822?v=4)](https://github.com/td204 "td204 (22 commits)")[![tractorcow](https://avatars.githubusercontent.com/u/936064?v=4)](https://github.com/tractorcow "tractorcow (7 commits)")[![mandy-kate](https://avatars.githubusercontent.com/u/18361499?v=4)](https://github.com/mandy-kate "mandy-kate (5 commits)")[![bgravato](https://avatars.githubusercontent.com/u/14302396?v=4)](https://github.com/bgravato "bgravato (1 commits)")

---

Tags

wordpressmigrationsilverstripeblog

### Embed Badge

![Health badge](/badges/td204-silverstripe-wordpressimport/health.svg)

```
[![Health](https://phpackages.com/badges/td204-silverstripe-wordpressimport/health.svg)](https://phpackages.com/packages/td204-silverstripe-wordpressimport)
```

###  Alternatives

[dbout/wp-orm

WordPress ORM with Eloquent.

1279.6k1](/packages/dbout-wp-orm)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
