Behind the Build: Rebuilding spen10.com With AI
How I rebuilt spen10.com with AI: moving from WordPress to Next.js and Supabase, keeping old URLs working, and the workflow behind this blog.
9 min read

The site you're reading this on used to be a WordPress blog. It's now a custom app I built with AI, and this post is the story of that rebuild: what changed, why, and the parts that were trickier than I expected.
It's also a good example of a project you might take on yourself. Moving an existing site to something new isn't the same as starting from scratch. You've got old content, old links and (hopefully) some search rankings you don't want to throw away.
Why move off WordPress at all?
WordPress is a perfectly good choice for a lot of sites. I'm not here to bash it.
For me, though, it had become too restrictive. WordPress even has its own AI tools built in now, which is great. But no matter how many prompts and tweaks I tried, I could never get the site to look and work exactly the way I wanted.
Building everything with AI coding tools instead gives me complete control. If I can describe it, I can build it. That freedom is the big difference: whether it's a website or an app, it doesn't feel like there's a limit to what I can make.
There was another reason too: the new direction. SPEN10 is now about building websites and apps with AI, and it felt right for the site itself to be one of those builds. If I'm going to write about building with AI, the site should be proof that it works.
The stack
Here's what spen10.com runs on now, in plain language:
- Next.js builds the pages. It's a popular framework for React websites and apps.
- Supabase stores the guides, blog posts, resources and newsletter signups in a Postgres database, and handles the admin login.
- Vercel hosts it. Every time I push code to GitHub, Vercel builds and deploys the new version automatically.
- Cloudflare handles the domain's DNS (the address book that points spen10.com at Vercel).
If those terms are new, domains, DNS and SSL explained covers the domain side, and why your AI-built app needs a database covers Supabase.
Keeping the old URLs working
This was the part I cared about most, and it's the one most people forget when they rebuild a site.
The old WordPress posts lived at addresses like spen10.com/sales-funnel-meaning/. On the new site, posts live under /blog/, so that same post is now at spen10.com/blog/sales-funnel-meaning. Without doing anything, every old link on the internet, every bookmark, and every search result would hit a "page not found."
The fix is permanent redirects. A redirect says "this page moved, go here instead," and a permanent one (a 301 or 308) also tells search engines to move the old page's ranking over to the new address. Next.js lets you list redirects in its config file, so the site now has one for each of the 15 restored posts, plus old pages like /tools (now /resources) and /contact-us (now /about).
If you're moving a site, my advice is simple: before you switch anything over, make a list of every URL on the old site. Then make sure each one either still works or redirects somewhere sensible.
Restoring the archive
I didn't want to lose the old posts either. They're from 2019 and 2020, written when SPEN10 was about online business and web design, so they're dated in places. But they're part of the story.
They're back on the site, tagged from the archive, with a short note at the top of each one explaining when they were written. Some of the newer posts, like sales funnels in 2026, revisit those old topics with fresh eyes.
The blog workflow
This is the part I'm most pleased with. Every post lives in two places:
- Supabase is the source of truth. The site reads posts from the database, and I can edit them in a simple admin area.
- A Markdown file in the code repository is the backup. Markdown is plain text with a few symbols for formatting, so it's easy to read, edit and keep in Git.
A small script moves posts between the two. It checks a post for problems (a missing title, an excerpt that's too long for Google), uploads its images, and sends it to the database. Posts can be scheduled: each one has a date, and it stays hidden until that date arrives.
The writing side uses AI too. There's a backlog of topics in a file, and a written set of instructions describing the voice, the formatting, how diagrams are drawn, and the accuracy rules (verify every claim about a tool, never make up stories). The AI drafts from that, and I review and edit every post before it's scheduled.
These days, I rarely change much in a draft, if anything. It wasn't like that at first. Early on, the AI repeated itself and made things too wordy. Each time I noticed a habit like that, I added a rule to the instructions file to stop it. Over time, those small fixes added up, and the drafts got much closer to how I'd write them myself.
The other thing that makes a big difference is placeholders. When a post needs a personal story or a detail about my business, the AI doesn't guess or fill the gap with something generic. It leaves a marked placeholder instead, and I fill it in with my own words. That way the post sounds like me, and the personal parts are actually true.
What took longer than expected
Two things took the most work and the most tweaking: the colors and theming, and making the site work well on phones. They sound simple, but they're what people notice first, so they had to be right.
Colors, fonts and the logo
Getting the colors right turned out to be a bit of a challenge, because I'd lost the details of the old site's look: the colors, the fonts, the theme settings, even my old logo files.
AI helped me get them back. I found an archived copy of the old website online, saved by a website caching service, and pulled the original colors and fonts from it. For the logo, I downloaded an old copy from one of my social media profiles, gave it to the AI, and had it redesign the logo to match the new site.
Then came the tweaking. Every color has to look good and stay readable on both a light and a dark background, because the site has a dark mode. That took more rounds of small adjustments than I expected.
Making it work on phones
A lot of things look fine on a laptop and fall apart at phone width: menus, buttons, tables, images. Getting every page to feel right on a small screen meant a lot of checking on my phone, finding something off, fixing it, and checking again.
Bringing the old posts back
I didn't want the new blog to start out empty. Most of the old posts turned up in the same cached copies of the website, so I could restore them. For a few, only the titles survived. For those, I used AI to rebuild each post from its title.
The easy part
The domain and DNS setup was quick. I've set those up plenty of times before, so that part went smoothly.
All of this took considerably longer than I expected. But once the new site was up and running, I was extremely happy with how it turned out.
What I'd tell you if you're rebuilding your own site
- Inventory first. List every page and URL before you build anything.
- Save your brand details. Write down your colors and fonts, and keep your logo files somewhere safe. They're easy to lose and hard to recover.
- Redirect everything that moves, permanently.
- Commit after every working step so you can always go back. (Git for non-developers has the commands.)
- Ship it, then improve it. The first version of the new site doesn't need every feature. It needs to work, and it needs to not break the old links.
If you want to see what else I've built along the way, take a look at the apps page.
— Spencer
Share this post
Found this useful?
Get the next one in your inbox. No spam, unsubscribe anytime.
