HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
ashishb
wp2hugo
Go2024–2025
ashishb / wp2hugo

wp2hugo

The best WordPress to static site migrator

5Distinct people
6Mentions
0Explicit recommenders
311GitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

The best WordPress to static site migrator

GitHub

Where it is used

No documented product use has been verified yet.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

No other repository is repeatedly linked in the same discussions.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 3:56:07 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by month6 dated mentions

Observed mentions: 2024-08-28 08:34:57 UTC to 2025-09-30 23:17:52 UTC.

01232024-08-01 00:00:00 UTC to 2024-09-01 00:00:00 UTC (exclusive): 3 mentions; 1 submissions, 2 commentsAug 20242024-09-01 00:00:00 UTC to 2024-10-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-10-01 00:00:00 UTC to 2024-11-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-11-01 00:00:00 UTC to 2024-12-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2024-12-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-01-01 00:00:00 UTC to 2025-02-01 00:00:00 UTC (exclusive): 2 mentions; 0 submissions, 2 comments2025-02-01 00:00:00 UTC to 2025-03-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 commentsFeb 20252025-03-01 00:00:00 UTC to 2025-04-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-04-01 00:00:00 UTC to 2025-05-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-05-01 00:00:00 UTC to 2025-06-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-06-01 00:00:00 UTC to 2025-07-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-07-01 00:00:00 UTC to 2025-08-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-08-01 00:00:00 UTC to 2025-09-01 00:00:00 UTC (exclusive): 0 mentions; 0 submissions, 0 comments2025-09-01 00:00:00 UTC to 2025-10-01 00:00:00 UTC (exclusive): 1 mentions; 0 submissions, 1 commentsSep 2025

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
Aug 20242024-08-01 00:00:00 UTC2024-09-01 00:00:00 UTC312
Sep 20242024-09-01 00:00:00 UTC2024-10-01 00:00:00 UTC000
Oct 20242024-10-01 00:00:00 UTC2024-11-01 00:00:00 UTC000
Nov 20242024-11-01 00:00:00 UTC2024-12-01 00:00:00 UTC000
Dec 20242024-12-01 00:00:00 UTC2025-01-01 00:00:00 UTC000
Jan 20252025-01-01 00:00:00 UTC2025-02-01 00:00:00 UTC202
Feb 20252025-02-01 00:00:00 UTC2025-03-01 00:00:00 UTC000
Mar 20252025-03-01 00:00:00 UTC2025-04-01 00:00:00 UTC000
Apr 20252025-04-01 00:00:00 UTC2025-05-01 00:00:00 UTC000
May 20252025-05-01 00:00:00 UTC2025-06-01 00:00:00 UTC000
Jun 20252025-06-01 00:00:00 UTC2025-07-01 00:00:00 UTC000
Jul 20252025-07-01 00:00:00 UTC2025-08-01 00:00:00 UTC000
Aug 20252025-08-01 00:00:00 UTC2025-09-01 00:00:00 UTC000
Sep 20252025-09-01 00:00:00 UTC2025-10-01 00:00:00 UTC101

What Hacker News says

6 sources
https://github.com/ashishb/wp2hugo It dumps all pages and articles as markdown with most Wordpress metadata as front matter metadata, and all comments in a separate yaml file which can be processed as needed. It creates a minimal theme with the necessary templates to do a basic static render of the content. It does need some theme and template tweaking to match Wordpress url structure and ensure all pages end up in the same url/permalink. I also used a Wordpress hugo exporter plug-in about 3 years ago - worked mostly the same. Using Hugo still allows me to more easily add content to the site while maintaining a consistent templating and design. I also experimented with doing a simple static dump of html as generated by Wordpress - I tried two ways, using wget —-mirror which kinda worked but generated a lot of redundant pages, and a Wordpr
Read the rest
ess plugin called “simply static” which was supposed to do something similar but in the end didn’t work. In the end I decided against the static dump because it would have entirely “frozen” the site in time - I did want the ability to add content down the line; or change the design without having to modify the content significantly. Archiving sites verbatim is best left to the experts at archive.org :)
In I’ve removed Disqus. It was making my blog worse
> Dubious claim of best aside... I looked at 10+ tools and tried them on my personal blog, all got the basics right but none did great work for the 300+ posts that I have. You can see the features here https://github.com/ashishb/wp2hugo#goals-of-wp2hugo > If I migrate my commercial blog, will the license apply to generated contents? Lots of individuals have personal non-commercial websites and my goal was to give them a free tool to migrate out from WordPress -> Hugo (or even a static site, in general). I hope it is fair to say that the original author of the code deserves to capture some value for the commercial migrations.
In Wp2hugo: Best WordPress to Hugo migrator (written in Go)

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.