# Import from wordpress to ghost 2.0

**URL:** <https://forum.ghost.org/t/import-from-wordpress-to-ghost-2-0/3097>\
**Category:** Developer help\
**Created:** [September 15, 2018, 1:37pm UTC](https://forum.ghost.org/t/import-from-wordpress-to-ghost-2-0/3097 "2018-09-15T13:37:46Z")\
**Posts on this page:** 18\
**Page:** 1

<div class="post-metadata">

**Author:** ![sean2932](https://avatars.discourse-cdn.com/v4/letter/s/f05b48/32.png) [@sean2932](https://forum.ghost.org/u/sean2932)\
**Post date:** [September 15, 2018, 1:37pm UTC](https://forum.ghost.org/t/import-from-wordpress-to-ghost-2-0/3097/1 "2018-09-15T13:37:47Z")

</div>

Hi,  
I just moved from wordpress to ghost 2.0, i used the wordpress plugin to move my posts, but when i try to import them into ghost 2.0 i get

Please install Ghost 1.0, import the file and then update your blog to Ghost 2.0.  
Visit [https://docs.ghost.org/v1/docs/install](https://docs.ghost.org/v1/docs/install) or ask for help in our [https://forum.ghost.org](https://forum.ghost.org).

is there anyway around this, i really don’t want to go all though this install again to get my posts into ghost

---

<div class="post-metadata">

**Author:** ![Jivebunny](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jivebunny/32/1531_2.png) [@Jivebunny](https://forum.ghost.org/u/Jivebunny)\
**Post date:** [September 17, 2018, 1:31pm UTC](https://forum.ghost.org/t/import-from-wordpress-to-ghost-2-0/3097/2 "2018-09-17T13:31:38Z")

</div>

> [@sean2932](#):
>
> i really don’t want to go all though this install again to get my posts into ghost

Eh, the other way is manually update your export to fit the ghost 2.0 import format. I’d say going through the install again might be quicker, unless you only have a few posts.

Just had a thought, but that involves you sharing your export with me. I can put up a ghost 1.x pretty easy, run the import, update, run the export and hand it over to you. But that includes trusting me with your data.

Maybe you can do it yourself, if you’re familiar with docker. It makes it really easy.

@Hannah I also sent him a private message with a link to a clean ghost blog version 1.25 that’s at the ready if he wants to use it (yeah I’m hosting it I know, not ideal). But yeah, yours might be a better solution perhaps!

---

<div class="post-metadata">

**Author:** ![Hannah](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/hannah/32/22_2.png) [@Hannah](https://forum.ghost.org/u/Hannah)\
**Post date:** [September 17, 2018, 1:44pm UTC](https://forum.ghost.org/t/import-from-wordpress-to-ghost-2-0/3097/3 "2018-09-17T13:44:52Z")

</div>

Hi @sean2932 I totally get that it is not ideal, we don’t currently have anyone to maintain the current WP exporter plugin, and so it is very far behind.

You can install 1.0 on your local machine with Ghost CLI `ghost install local --v1` to do the import -\> upgrade -\> export dance.

This is the best option we have right now, but again, we get that it isn’t ideal and are working on a better option.

---

<div class="post-metadata">

**Author:** ![pascalandy](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/pascalandy/32/444_2.png) [@pascalandy](https://forum.ghost.org/u/pascalandy)\
**Post date:** [September 20, 2018, 12:31pm UTC](https://forum.ghost.org/t/import-from-wordpress-to-ghost-2-0/3097/5 "2018-09-20T12:31:23Z")

</div>

Are you comfortable with Docker?  
If so this will be easy. Let me know if I can help.

---

<div class="post-metadata">

**Author:** ![IanJBattaglia](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/ianjbattaglia/32/1561_2.png) [@IanJBattaglia](https://forum.ghost.org/u/IanJBattaglia)\
**Post date:** [September 20, 2018, 9:17pm UTC](https://forum.ghost.org/t/import-from-wordpress-to-ghost-2-0/3097/6 "2018-09-20T21:17:30Z")

</div>

Do you think you could do the same for me? Happy to send over my export file from Ghost V1.

---

<div class="post-metadata">

**Author:** ![Jivebunny](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jivebunny/32/1531_2.png) [@Jivebunny](https://forum.ghost.org/u/Jivebunny)\
**Post date:** [September 22, 2018, 6:20pm UTC](https://forum.ghost.org/t/import-from-wordpress-to-ghost-2-0/3097/7 "2018-09-22T18:20:01Z")

</div>

Hey, I can do that, I’ll send you a pm with instructions.

---

<div class="post-metadata">

**Author:** ![IanJBattaglia](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/ianjbattaglia/32/1561_2.png) [@IanJBattaglia](https://forum.ghost.org/u/IanJBattaglia)\
**Post date:** [September 22, 2018, 9:13pm UTC](https://forum.ghost.org/t/import-from-wordpress-to-ghost-2-0/3097/8 "2018-09-22T21:13:01Z")

</div>

Thank you!

---

<div class="post-metadata">

**Author:** ![pascalandy](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/pascalandy/32/444_2.png) [@pascalandy](https://forum.ghost.org/u/pascalandy)\
**Post date:** [September 23, 2018, 5:45pm UTC](https://forum.ghost.org/t/import-from-wordpress-to-ghost-2-0/3097/9 "2018-09-23T17:45:40Z")

</div>

Love is in the air 🙂

---

<div class="post-metadata">

**Author:** ![Jivebunny](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jivebunny/32/1531_2.png) [@Jivebunny](https://forum.ghost.org/u/Jivebunny)\
**Post date:** [September 23, 2018, 7:26pm UTC](https://forum.ghost.org/t/import-from-wordpress-to-ghost-2-0/3097/10 "2018-09-23T19:26:18Z")

</div>

Docker is making it happen haha. So easy.

---

<div class="post-metadata">

**Author:** ![Saalbuerger](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/saalbuerger/32/1577_2.png) [@Saalbuerger](https://forum.ghost.org/u/Saalbuerger)\
**Post date:** [September 24, 2018, 9:50am UTC](https://forum.ghost.org/t/import-from-wordpress-to-ghost-2-0/3097/11 "2018-09-24T09:50:01Z")

</div>

Hi @Jivebunny 🙂 can you send me the instructions too? pls 🙂

---

<div class="post-metadata">

**Author:** ![pascalandy](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/pascalandy/32/444_2.png) [@pascalandy](https://forum.ghost.org/u/pascalandy)\
**Post date:** [September 24, 2018, 12:16pm UTC](https://forum.ghost.org/t/import-from-wordpress-to-ghost-2-0/3097/12 "2018-09-24T12:16:16Z")

</div>

I’ll be glad to test the “how to” if someone wants to write it 🙂

---

<div class="post-metadata">

**Author:** ![Jivebunny](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jivebunny/32/1531_2.png) [@Jivebunny](https://forum.ghost.org/u/Jivebunny)\
**Post date:** [September 24, 2018, 5:53pm UTC](https://forum.ghost.org/t/import-from-wordpress-to-ghost-2-0/3097/13 "2018-09-24T17:53:47Z")

</div>

It’s ready for you. Sending instructions now.

---

<div class="post-metadata">

**Author:** ![Jivebunny](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jivebunny/32/1531_2.png) [@Jivebunny](https://forum.ghost.org/u/Jivebunny)\
**Post date:** [September 24, 2018, 6:19pm UTC](https://forum.ghost.org/t/import-from-wordpress-to-ghost-2-0/3097/14 "2018-09-24T18:19:31Z")

</div>

You know docker I think, so I could give you the instructions that I give to people who need it, but that’s probably not what you are looking for?

Basically, I just run the following:

```bash
docker run --name my-ghost-blog d -p XXXX:2368 \
-e url=https://my-ghost-blog.com \
-e NODE_ENV=production \
-v /path/to/your/docker/ghost/my-ghost-blog:/var/lib/ghost/content \
--restart=always \
ghost:1-alpine

```

I run it with a reverse proxy `jwilder/nginx`, and the letsencryptcompanion for it. That way I can host it securely for them on my own domain. They log in, create admin account, import data, send me a notice and I run the same command (after throwing away the `1-alpine` container), and the only thing I change is the last part:  
`ghost:alpine`

But I’m not sure you’re looking for that?

PS: the only downside is I can do 5 secure domains a day because of letsencrypt limitations.

---

<div class="post-metadata">

**Author:** ![pascalandy](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/pascalandy/32/444_2.png) [@pascalandy](https://forum.ghost.org/u/pascalandy)\
**Post date:** [September 24, 2018, 8:21pm UTC](https://forum.ghost.org/t/import-from-wordpress-to-ghost-2-0/3097/15 "2018-09-24T20:21:07Z")

</div>

That’s good @Jivebunny :) . But I think it’s overkill to go with the jwilder/nginx setup. Just run things locally without a PROD URL.

1. Locally, put your file (converted from WP) into /path/to/ghost/

From [this docs](https://hub.docker.com/_/ghost/) (which I contributed), RUN:

```auto
docker run -d \
	--name some-ghost \
	-p 3001:2368 \
	-v /path/to/ghost/blog:/var/lib/ghost/content \
	ghost:1-alpine

```

1. Go to [http://localhost:3001](http://localhost:3001)  
Your content appears normal under Ghost V1. Yeah.

2. Remove your container. RUN:

```auto
docker rm -f some-ghost

```

1. Let’s upgrade to Ghost v2. RUN:

```auto
docker run -d \
	--name some-ghost \
	-p 3001:2368 \
	-v /path/to/ghost/blog:/var/lib/ghost/content \
	ghost:2-alpine

```

1. Go to [http://localhost:3001](http://localhost:3001)  
Your content appears normal under Ghost V2. Yeah.

2. Now you’re ready to go! Copy your data into your PROD env and start Ghost V2. Et voilà!

Cheers!  
Pascal

---

<div class="post-metadata">

**Author:** ![pascalandy](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/pascalandy/32/444_2.png) [@pascalandy](https://forum.ghost.org/u/pascalandy)\
**Post date:** [September 24, 2018, 8:28pm UTC](https://forum.ghost.org/t/import-from-wordpress-to-ghost-2-0/3097/16 "2018-09-24T20:28:41Z")

</div>

@sean2932, please let us know if it’s working for you 🙂

---

<div class="post-metadata">

**Author:** ![Jivebunny](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/jivebunny/32/1531_2.png) [@Jivebunny](https://forum.ghost.org/u/Jivebunny)\
**Post date:** [September 25, 2018, 7:59am UTC](https://forum.ghost.org/t/import-from-wordpress-to-ghost-2-0/3097/17 "2018-09-25T07:59:09Z")

</div>

Yeah, true, but I ran it for them so they could access it remotely. They’re not local to my server, nor does it seem they have a docker installation available.

---

<div class="post-metadata">

**Author:** ![pascalandy](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/pascalandy/32/444_2.png) [@pascalandy](https://forum.ghost.org/u/pascalandy)\
**Post date:** [September 26, 2018, 3:06am UTC](https://forum.ghost.org/t/import-from-wordpress-to-ghost-2-0/3097/18 "2018-09-26T03:06:22Z")

</div>

I see! For most people, I think the local solution will be the way to go 🙂

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex015/uploads/ghost2/original/2X/b/ba9ce5100b8bb264586f4f572545596b2ce3f081.png) [@system](https://forum.ghost.org/u/system)\
**Post date:** [October 10, 2018, 3:06am UTC](https://forum.ghost.org/t/import-from-wordpress-to-ghost-2-0/3097/19 "2018-10-10T03:06:24Z")

</div>

Closed on October 10, 2018, 3:06am UTC

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.
