# WP to Ghost migration - problems with html

**URL:** <https://forum.ghost.org/t/wp-to-ghost-migration-problems-with-html/11181>\
**Category:** Migrations\
**Created:** [January 6, 2020, 3:49am UTC](https://forum.ghost.org/t/wp-to-ghost-migration-problems-with-html/11181 "2020-01-06T03:49:43Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![djordje](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/djordje/32/5005_2.png) [@djordje](https://forum.ghost.org/u/djordje)\
**Post date:** [January 6, 2020, 3:49am UTC](https://forum.ghost.org/t/wp-to-ghost-migration-problems-with-html/11181/1 "2020-01-06T03:49:43Z")

</div>

Hello,

I’m trying to migrate my Wordpress blog to Ghost (latest version), but it doesn’t work as expected.

I have managed to export posts from WP both as json and zip. On local machine I tried importing both files and it sort of worked, but with duplicate html and body tags. I use default casper theme and beginning of generated html looks like this:

```
<section class="post-full-content">
<div class="post-content">
<!--kg-card-begin: html--><!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
<html><body>

```

Does anybody have similar problem?

Regards,  
Djordje

---

<div class="post-metadata">

**Author:** ![DavidDarnes](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/daviddarnes/32/3533_2.png) [@DavidDarnes](https://forum.ghost.org/u/DavidDarnes)\
**Post date:** [January 6, 2020, 12:59pm UTC](https://forum.ghost.org/t/wp-to-ghost-migration-problems-with-html/11181/2 "2020-01-06T12:59:50Z")

</div>

Hi @djordje, in your original WordPress site do you have any plugins that may effect the content?

---

<div class="post-metadata">

**Author:** ![djordje](https://sea1.discourse-cdn.com/flex015/user_avatar/forum.ghost.org/djordje/32/5005_2.png) [@djordje](https://forum.ghost.org/u/djordje)\
**Post date:** [January 6, 2020, 3:42pm UTC](https://forum.ghost.org/t/wp-to-ghost-migration-problems-with-html/11181/3 "2020-01-06T15:42:42Z")

</div>

Well, there are few plugins. I will try to disable all the plugins and try again. Will update you.
