I left WordPress after seven years, and no article changed its address

The first article on this blog went up on 23 May 2019. Another 86 followed, all in Italian and almost all about WordPress, WooCommerce and making money online. The last one is from November 2021. Then the blog stopped, and the work moved on elsewhere: AI agents, automation, code, 3D.
In November 2026 I rebuilt the site from scratch with Astro and Three.js. The blog stayed, in the background, under one rule: no article changes its address.
Why I left
I didn’t fall out with WordPress. It served me well for years, and 28 of those articles explain how to use it.
But the site no longer told people what I do. And keeping PHP, a database, a theme and plugins running for a blog I no longer updated was maintenance for nothing. A static site does the same job: HTML pages the server hands over as they are. Nothing to update, no login to attack.
The rule: addresses don’t move
Google knows a site by its addresses. If an article changes URL without a redirect, to Google it’s a new page: the rankings earned over the years are lost, and links from other sites land on an error.
So:
- Same path.
/come-acquistare-bitcoin/stays/come-acquistare-bitcoin/, trailing slash included. - Same canonical. Every page declares the same address as before.
- Same categories.
/category/ecommerce/dropshipping/still exists. - Same images, at the same path. Including the full-resolution originals, because those are what Google Images had indexed.
How I moved the articles out
A script reads everything from the WordPress REST API. For each article it:
- cleans the plugin HTML out: the automatic table of contents, the Elementor blocks, the theme’s classes, the shortcode captions;
- converts it to Markdown;
- rewrites internal links as relative ones;
- downloads the images into the same folder structure as
wp-content/uploads.
The result: 87 Markdown files. Every article is now a text file I can open, search and keep on GitHub with the rest of the code.
Redirects for what no longer exists
Some WordPress addresses make no sense on a static site. Those need a permanent (301) redirect, which tells Google where the page went:
| Before | Now |
|---|---|
/feed/ |
/rss.xml |
/wp-content/uploads/… |
/media/…, same path |
/category/…/page/2/ |
the category |
/article/feed/ |
the article |
/tag/…, /author/…, /page/… |
the blog archive |
/wp-admin/, /wp-login.php |
the home page |
And the short /?p=123 links WordPress makes on its own still lead to the right article: a small table maps every number to its address.
How I checked it
Before switching WordPress off, I saved its sitemaps: 110 addresses (87 articles, 3 pages, 19 categories and the author page) and 500 images.
A script tried every one of them against the new site. Each had to answer with the right page, or with a redirect to the right page.
On the first run, 93 images were missing. They were the full-resolution originals: the articles only showed resized versions, but the sitemap, and so Google Images, had the originals. I downloaded those too, and the check came back clean: 584 images in all.
What went wrong
No article ever changed its address. The redirects, though, didn’t work for almost three weeks.
On my host, redirects live in the .htaccess file, and the server wasn’t using it. The pages were there, the redirects weren’t: /feed/ and the old images returned 404, and a wrong address showed the host’s error page instead of mine. I only noticed while running a security check on the site, which I wrote about in I put my own site through vaglio.
The lesson: checking the build on your own computer isn’t enough. Test the real server after every release.
One more surprise. In an old article about the Facebook Pixel, the code examples had turned into real HTML during the conversion: a script was actually running on the page, and half a sentence had vanished. Examples containing <script> need checking one by one.
What I gained
- Nothing to update. No PHP, no database, no plugins: the server hands out files.
- Security. There’s no login page to attack. With six lines in
.htaccess, the security grade went from C to A. - Same host. I didn’t change provider.
- The content is files. Markdown on GitHub: if I change host tomorrow, I copy a folder.
- Automatic publishing. I push to GitHub and the site is updated in about a minute. I explain how in Automatic deploys from GitHub to shared hosting.
- Two languages. New articles also come out in English, linked to each other.
What I lost
- The WordPress dashboard. I write Markdown in an editor. It still works from a phone, with GitHub’s editor, but it isn’t as convenient.
- Tag and author pages. They’re gone: they lead to the archive.
- Ready-made plugins. A contact form, for instance, now has to be written from scratch or dropped. I dropped it: anyone who wants to reach me uses LinkedIn, X or email.
If you want to do the same
- Save the WordPress sitemaps before switching it off. They’re your checklist.
- Keep the same addresses, trailing slash included, and the same canonical.
- Download the original images too, not just the resized versions.
- Write redirects for everything that disappears: feeds, tags, authors, pagination,
wp-content. - Check the code examples in your articles: HTML that was text can turn into real code.
- After every release, test the addresses on the real server, not on your computer.
The old blog is all still here, in the archive, in Italian, at the same addresses as ever.