Wordpress to Ghost Migration Problems


#1

Hi,

I’ve migrated my data from Wordpress to Ghost to test how it works and here’s where I’m stuck.

  1. The formatting for a lot of the posts has been lost. IE the paragraphs have been removed and the content it is all one big paragraph.

  2. My existing site uses categories which are converted to tags. This would show domain.com/category/postname and I have a post id added as well. However, the content in ghost is displaying as domain.com/postname

This would mean all of my permalinks are incorrect and with over 428 posts I’m not sure how I would correct this or what the negative SEO impact would be for me.

  1. Images - I’ve tried to import and get this message Request is larger than the maximum file size the server allows

Hopefully I can get some advice on how to fix these problems.


#2

Hey there,

You can find some solutions to your problems in some of my earlier posts where I described some of them and how I worked around them (i.e. redirects):


and

There’s also the official Ghost documentation here:

I think that you will need to:

  • fix the formatting on your own
  • create the redirects.json to fix the URL’s
  • config your php.ini to allow bigger file size (and restart php)

; Maximum allowed size for uploaded files.
upload_max_filesize = 40M
; Must be greater than or equal to upload_max_filesize
post_max_size = 40M


#3

Thanks your posts and comments are really helpful.

I need to send a ticket to support as I’m using Ghost Pro so not sure why my images are not uploading.

As for the redirects I’m really confused but I’ll have a go at trying what you recommended.


#4

Yes, write to support@ghost.org and they will help you out with everything.


#5

Just to add a note here - the WordPress plugin is currently unmaintained and pretty unloved. If anyone is interested in contributing, this is definitely an area where we could use some help.


#6

The Ghost support team are doing a great job in helping fix my migration problems.

The redirects they’ve suggested are below and I guess I’ll only know once I shift my website over.

[
{
“permanent”: true,
“from”: “^/categoryname/([a-z0-9\-]+)?”,
“to”: “/$1/”
}
]