# Best practices or a smarter way to create a ~60K pages website

**URL:** <https://discourse.gohugo.io/t/best-practices-or-a-smarter-way-to-create-a-60k-pages-website/46328>\
**Category:** support\
**Created:** [September 21, 2023, 8:01am UTC](https://discourse.gohugo.io/t/best-practices-or-a-smarter-way-to-create-a-60k-pages-website/46328 "2023-09-21T08:01:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![simlated](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/simlated/32/20379_2.png) [@simlated](https://discourse.gohugo.io/u/simlated)\
**Post date:** [September 21, 2023, 8:01am UTC](https://discourse.gohugo.io/t/best-practices-or-a-smarter-way-to-create-a-60k-pages-website/46328/1 "2023-09-21T08:01:07Z")

</div>

Hello,

I have a website based on WP that counts ~60K pages. Since it is basically a static website with some minor interaction powered by JS, I would like to switch to Hugo (which I already use for other projects).  
The ~60K pages use the same template. Now, should I create 60K md files inside the content directory ( with a script that reads data from db and creates those files of course) or there’s some smarter way to do that and I’m missing it in the documentation?

---

<div class="post-metadata">

**Author:** ![iaeiou](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/iaeiou/32/15332_2.png) [@iaeiou](https://discourse.gohugo.io/u/iaeiou)\
**Post date:** [September 21, 2023, 8:29am UTC](https://discourse.gohugo.io/t/best-practices-or-a-smarter-way-to-create-a-60k-pages-website/46328/2 "2023-09-21T08:29:22Z")

</div>

Hi @simlated ,

I’m dropping here the bookmarks I have on the topic, hope you’ll find interesting bits:

- [Switching From WordPress To Hugo — Smashing Magazine](https://www.smashingmagazine.com/2019/05/switch-wordpress-hugo/)
- [GitHub - hiproz/hugo-sync: synchronize your wordpress or github to hugo website automaticlly](https://github.com/hiproz/hugo-sync)
- [GitHub - SchumacherFM/wordpress-to-hugo-exporter: Hugo is static site generator written in golang. Wordpress is a tool for remote access to your server ;-) ❗️Contributions welcome!](https://github.com/SchumacherFM/wordpress-to-hugo-exporter)
- [Converting WordPress Export File to Hugo – Elmar Klausmeier's Weblog](https://eklausmeier.wordpress.com/2017/04/24/converting-wordpress-export-file-to-hugo/)
- [Converting WordPress Export File to Hugo – Elmar Klausmeier's Weblog](https://eklausmeier.wordpress.com/2017/04/24/converting-wordpress-export-file-to-hugo/)
- [Notes about migrating to Hugo](https://arslan.io/2017/11/30/notes-about-migrating-to-hugo/)
- [Migrating from Wordpress to Hugo | WhiteMatterTech](https://whitematter.tech/posts/migrating-from-wordpress-to-hugo/)
- [Moving from Wordpress to Hugo · Curtis Timson](https://www.curtiscode.dev/post/cms/moving-wordpress-hugo/)
- [Migrating a Website from WordPress to Hugo - Let's Make a Game](https://letsmakeagame.net/migrating-from-wordpress-to-hugo/)
- [From WordPress to Hugo, a mindset transition | Regis Philibert](https://www.regisphilibert.com/blog/2019/01/from-wordpress-to-hugo-a-mindset-transition/)
- [Sharing WordPress Content with Hugo - Half-Elf on Tech](https://halfelf.org/2017/sharing-content-hugo/)
- [Release First Release · danielfdickinson/wpxr-to-static · GitHub](https://github.com/danielfdickinson/wpxr-to-static/releases/tag/0.2.1)

---

<div class="post-metadata">

**Author:** ![klm](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/klm/32/10909_2.png) [@klm](https://discourse.gohugo.io/u/klm)\
**Post date:** [September 27, 2023, 4:04pm UTC](https://discourse.gohugo.io/t/best-practices-or-a-smarter-way-to-create-a-60k-pages-website/46328/3 "2023-09-27T16:04:55Z")

</div>

You might find the talk [Automated migration at scale: Migrate to Hugo from any existing site](https://www.youtube.com/watch?v=wlJkQEC2LNQ) presented at the recent 2023 [HugoConf](https://hugoconf.io/) useful.

In the talk, George Phillips from CloudCannon talks about the new [StaticShape](https://staticshape.app/) tool.
