DEV Community

Jochen Gererstorfer
Jochen Gererstorfer

Posted on

WordPress > SSG

Hello,
I have a WordPress blog with several hundred posts.
Now I wonder how much effort it would take to transfer that to a static site generator.
I am playing around with nuxtjs and vuetify. That would be my preferred combo.

Has somebody made that change? What is your opinion about it?

thanks
Jochen

Top comments (1)

Collapse
 
bugsysailor profile image
Bugsy Sailor

I have not used Nuxtjs or Vuetify, but I did convert two old Wordpress websites, each with hundreds of posts, to static sites on Hugo.

Hugo is based on markdown files, so I wrote a custom PHP script to create an .md file for each post, they were all saved to the same director on my sever, and then zipped up in a single click.

That part was fairly easy, it took some tinkering and hackery to get all the needed frontmatter in place and to address several shortcodes I had been using in Wordpress. But after a few hours, I was up and running with all posts imported into Hugo!