I had read there were some ways to import Wordpress XML files, however, I’m not able to locate any. Any help on this would be greatly appreciated. I already exported the Wordpress data in a xml file.
@shane, There have been a few plugins assisting the migration of WP to Grav, but they are kind of old and probably no longer compatible with the current version or WP.
Also, I’m not sure it they offer what you are looking for…
This is what I’ve found:
Thanks for the info.
The 2015 WP2Grav I tried, and it broke my Wordpress site. I had to manually remove the plugin to be able to get back into my site. So, that one is out.
The 2018 Article, I tried to follow, and like. However, I’m not able to figure out the whole Pelican thing. That one looked the simplest though.
The 2017 option, seems to pull active Wordpress posts into Grav. It seems from the docs, if the Wordpress site is gone, the posts would disappear.
I didn’t even touch the 2012… too old.
I do appreciate the links all concisely located in one conversation. Most of these I was able to dig up on a web search.
@shane, Maybe someone else can pull up a rabbit out of the hat…
I saw you opened up this new thread as a followup to this one - so I answer here
as @pamtbaau mentioned, there are already some posts on the topic here.
I can also recommend taking a look at my own WP → Grav migration story here.
Hello, i converted my wordpress sites using this grav plugin…
After this initial import you need to edit all files to match your expectations, but it works…
I started working with that plugin, all was going well.
Then I got this error while trying to import my xml file:
Fatal error: Uncaught Error: Call to undefined function Grav\Plugin\Console\str_get_html() in /home/username/foldername/user/plugins/wordpress-import/cli/ImportCommand.php:447
#0 /home/username/foldername/system/src/Grav/Console/ConsoleCommand.php(33): Grav\Plugin\Console\ImportCommand->serve()
#1 /home/username/foldername/vendor/symfony/console/Command/Command.php(255): Grav\Console\ConsoleCommand->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#2 /home/username/foldername/vendor/symfony/console/Application.php(1009): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#3 /home/username/foldername/vendor/symfony/console/Application.php(273): Symfony\Component\Console\Application->doRunCommand(Object(Grav\Plugin\Console\ImportCommand), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#4 /home/username in /home/username/foldername/user/plugins/wordpress-import/cli/ImportCommand.php on line 447
I’m not really sure what all that means. However, I seem to be stopped there.