# Migrations

**URL:** <https://discourse.gohugo.io/t/migrations/39610>\
**Category:** support\
**Created:** [July 20, 2022, 6:31pm UTC](https://discourse.gohugo.io/t/migrations/39610 "2022-07-20T18:31:47Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![devsr-gt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/devsr-gt/32/15058_2.png) [@devsr-gt](https://discourse.gohugo.io/u/devsr-gt)\
**Post date:** [July 20, 2022, 6:31pm UTC](https://discourse.gohugo.io/t/migrations/39610/1 "2022-07-20T18:31:47Z")

</div>

how successful have you been in migrations from wordpress to hugo. I am infinitely interested in this topic and would like to crack it,

---

<div class="post-metadata">

**Author:** ![tut](https://avatars.discourse-cdn.com/v4/letter/t/e95f7d/32.png) [@tut](https://discourse.gohugo.io/u/tut)\
**Post date:** [July 20, 2022, 9:17pm UTC](https://discourse.gohugo.io/t/migrations/39610/2 "2022-07-20T21:17:43Z")

</div>

I have only done one migration when I did not know anything about Hugo. It took nearly 80-100 hours! But it becomes easier once someone knows the basics and grasps that Hugo Docs are references, no tutorials.

---

<div class="post-metadata">

**Author:** ![idarek](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/idarek/32/26229_2.png) [@idarek](https://discourse.gohugo.io/u/idarek)\
**Post date:** [July 20, 2022, 9:19pm UTC](https://discourse.gohugo.io/t/migrations/39610/3 "2022-07-20T21:19:52Z")

</div>

I did 5 full site migrations. All time consuming on reviewing markdown files, but overall success.

Some references [for you](https://dariusz.wieckiewicz.org/en/search/?query=Hugo)

Just find 2-3 WordPress to markdown phrases (you need multiple as not all are converting all essential data parts of posts). Design your theme and start working on your content. Than check all the links and do aliases or redirections where required.

Plan ahead, it’s never straight forward but really worth it.

---

<div class="post-metadata">

**Author:** ![devsr-gt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/devsr-gt/32/15058_2.png) [@devsr-gt](https://discourse.gohugo.io/u/devsr-gt)\
**Post date:** [July 20, 2022, 9:40pm UTC](https://discourse.gohugo.io/t/migrations/39610/4 "2022-07-20T21:40:38Z")

</div>

has anyone tried using httrack to make the website static then rebuild over it?  
httrack [http://LOCALSITE](http://LOCALSITE) -O DESTINATION -N -K “%h%p/%n/index%[page].%t” -WqQ%v --robots=0 --footer ‘’

find . -name “\*.html” -type f -print0 | xargs -0 perl -i -pe “s//index.html///g”

---

<div class="post-metadata">

**Author:** ![devsr-gt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/devsr-gt/32/15058_2.png) [@devsr-gt](https://discourse.gohugo.io/u/devsr-gt)\
**Post date:** [July 20, 2022, 9:41pm UTC](https://discourse.gohugo.io/t/migrations/39610/5 "2022-07-20T21:41:46Z")

</div>

Then just manage the screaming frog pulls to match up and make sure the 301 redirects are exact.

Then just place the httracked files into the static directory

---

<div class="post-metadata">

**Author:** ![devsr-gt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/devsr-gt/32/15058_2.png) [@devsr-gt](https://discourse.gohugo.io/u/devsr-gt)\
**Post date:** [July 20, 2022, 10:00pm UTC](https://discourse.gohugo.io/t/migrations/39610/6 "2022-07-20T22:00:52Z")

</div>

Ive done five and one multilingual all went ok but none smashing yet.

> **[Chapter IV: Master Jacques Coppenole](https://suspicious-swirles-732193.netlify.app/post/master-jacques-coppenole/)**
>
> Master Jacques Coppenole

This one was my first template

Régis Philibert is a beast

[![](https://img.youtube.com/vi/z3C7R_r75JI/maxresdefault.jpg "Limitless HTTP requests with Hugo: from basic GET to GraphQL - Régis Philibert // HugoConf 2022") ](https://www.youtube.com/watch?v=z3C7R_r75JI)

My Open Source Repository

> **[Perfect Lighthouse Scores](https://perfectlighthousescores.com/)**
>
> How to achieve perfect lighthouse scores using HUGO.

> **[GitHub - reillymedia/hugoconf-perfect-lighthouse-scores: Perfect Lighthouse...](https://github.com/reillymedia/hugoconf-perfect-lighthouse-scores)**
>
> Perfect Lighthouse Scores 2022. Contribute to reillymedia/hugoconf-perfect-lighthouse-scores development by creating an account on GitHub.

Still things that need to be fixed this work is never finished. Don’t forget to start though.

---

<div class="post-metadata">

**Author:** ![devsr-gt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/devsr-gt/32/15058_2.png) [@devsr-gt](https://discourse.gohugo.io/u/devsr-gt)\
**Post date:** [July 20, 2022, 10:57pm UTC](https://discourse.gohugo.io/t/migrations/39610/7 "2022-07-20T22:57:13Z")

</div>

specifically

> **[Free Consultation | Los Angeles Personal Injury Lawyer](https://www.epersonalinjurylawyers.com)**
>
> DAG Law Firm represents clients who are victims of negligence and suffer devastating injuries. Free Consultation. (323) 947-2224

> **[Abogado de Lesiones Personales Los Ángeles, California](https://www.epersonalinjurylawyers.com/es)**
>
> El bufete de abogados DAG representa a clientes que son víctimas de negligencia y sufren lesiones devastadoras. Consulta gratis. (323) 947-2224

> **[Free Consultation | Personal Injury Attorney Phoenix | AZ Law Firm](https://www.personalinjuryattorneys.me)**
>
> Personal Injury Attorneys PLLC can help you navigate your accident or injury case. Pay nothing if we do not win. Free Consultation (480) 725-7510.

> **[Free Consultation | Arizona Bankruptcy Lawyer in Phoenix | Arizona Bankruptcy...](https://www.arizonabankruptcylawyer.org)**
>
> Arizona Bankruptcy Lawyer - Our attorneys provide a free consultation for anyone seeking debt relief. We help with Chapter 7, 11 and 13 bankruptcy.

> **[Perlman & Cohen Top Rated Criminal Law Firm in Los Angeles, CA](https://perlmancohen.com)**
>
> Top rated criminal defense attorneys in Los Angeles, CA. We offer a risk free consultation.

None were easy to do and I think the httrack method will help

---

<div class="post-metadata">

**Author:** ![devsr-gt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/devsr-gt/32/15058_2.png) [@devsr-gt](https://discourse.gohugo.io/u/devsr-gt)\
**Post date:** [July 20, 2022, 11:00pm UTC](https://discourse.gohugo.io/t/migrations/39610/8 "2022-07-20T23:00:17Z")

</div>

and yes i know these sites still need work and are not the best looking.

The sites however rank. Google Search for personal injury attorneys phoenix – [https://www.personalinjuryattorneys.me](https://www.personalinjuryattorneys.me) is on the first page or search for arizona bankruptcy lawyer. [https://www.arizonabankruptcylawyer.org](https://www.arizonabankruptcylawyer.org) is on the first page.

Why this is important is google doesn’t care what your site is built in it only cares about the data it is receiveing. The only thing that matters is how to build a hugo site that is effective and google reads.

---

<div class="post-metadata">

**Author:** ![devsr-gt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/devsr-gt/32/15058_2.png) [@devsr-gt](https://discourse.gohugo.io/u/devsr-gt)\
**Post date:** [July 21, 2022, 12:10am UTC](https://discourse.gohugo.io/t/migrations/39610/9 "2022-07-21T00:10:33Z")

</div>

Thanks for your response. I like that you mentioned that it isn’t straight forward and it is a leap of faith.

---

<div class="post-metadata">

**Author:** ![devsr-gt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/devsr-gt/32/15058_2.png) [@devsr-gt](https://discourse.gohugo.io/u/devsr-gt)\
**Post date:** [July 21, 2022, 12:12am UTC](https://discourse.gohugo.io/t/migrations/39610/10 "2022-07-21T00:12:04Z")

</div>

My first migration took me 4 months. It was brutal but i don’t have to update wordpress anymore and it is a smaller attack surface.

---

<div class="post-metadata">

**Author:** ![dnorman](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/dnorman/32/20571_2.png) [@dnorman](https://discourse.gohugo.io/u/dnorman)\
**Post date:** [July 22, 2022, 5:10pm UTC](https://discourse.gohugo.io/t/migrations/39610/11 "2022-07-22T17:10:42Z")

</div>

I converted [my site](https://darcynorman.net) from WordPress to Hugo a couple of years ago. I used the [WordPress Jekyll Exporter plugin](https://wordpress.org/plugins/jekyll-exporter/) to generate the markdown files from the WP database, and had to tweak them a bit (but the Jekyll markdown files basically worked fine with Hugo, so…). After that, it was just a bunch of futzing around trying to replicate the website structure in Hugo, but I’m much happier with the site now.

---

<div class="post-metadata">

**Author:** ![devsr-gt](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/devsr-gt/32/15058_2.png) [@devsr-gt](https://discourse.gohugo.io/u/devsr-gt)\
**Post date:** [July 25, 2022, 11:40pm UTC](https://discourse.gohugo.io/t/migrations/39610/12 "2022-07-25T23:40:49Z")

</div>

I have used the schumacher plugin and it has not been perfect. I am still trying to figure out if the httrack static site generator will work with having hugo overide any of the static files listed in the content directory. This way you could have a perfect copy of your old other cms site while migrating to the new site with no SEO bleed
