I Revived PhilNews.xyz by Moving It From Blogger to Cloudflare
Published on November 28, 2026
How I moved PhilNews off Blogger
I am a technical writer who builds software hands-on. I treated the migration like a content operations job: a written brief, small review-only pull requests, and no deploy until I had checked the URLs. I run a small AI agent team the same way. I write the brief. They do one assigned job. I review the result. Nothing is merged or published without my yes.
The work followed a fixed order.
1. Export the blog, then import only what should stay live. I used a Google Takeout feed (the 2018 Blogger schema). Paths came from the export filename, not from an empty link field. The importer kept only live posts and pages. On 22 November 2026 I committed 5,056 kept posts and pages as Markdown, after stripping scripts and old ad markup.
2. Keep every public URL in the same shape.
Blogger URLs on this site look like
/2026/11/where-to-park-your-13th-month-pay-in-the-philippines-2026-guide.html
and /p/about-us.html. The Astro build writes those
exact files, with no trailing slash, and the new host has to
return 200 at each .html path.
3. Build the frames around the archive.
Layouts, category archives at
/category/{slug}.html, JSON-LD, a sitemap, and an
RSS feed at /rss.xml went in next. Old
/search/label/... URLs now 301 to the matching
category page, or to the category index when there is no
match. The old feed URL 301s to /rss.xml.
4. Decide what to keep in the index. I did not put every thin label archive in the sitemap. I also pruned older short posts that had no Search Console traffic, no backlink, and no match on an evergreen list. On the live site, sample pruned paths now return 410.
5. Move the images, then point the domain at the new host.
Post images are served from
img.philnews.xyz
on Cloudflare R2. The site itself is a Worker named
philnews with static assets, deployed with
Wrangler. I first deployed it on 22 November 2026, then
replaced the old Google Blogger DNS records so both
philnews.xyz and
www.philnews.xyz are served by Cloudflare.
6. Start publishing again. The homepage meta description is now "News and guides from the Philippines." On 6 November 2026 that field was still the Blogger placeholder "YOUR DESCRIPTION HERE," and the newest visible post was from 3 May 2026. On 27 November 2026 I published Where to Park Your 13th Month Pay in the Philippines (2026 Guide). As of 28 November 2026, the public sitemap lists 5,351 URLs.
What broke, and how I fixed it
The first host I considered was Cloudflare Pages. Pages
redirects /file.html to /file and
serves the HTML at the path without the extension. I could not
turn that off. If I had deployed PhilNews as a classic Pages
project, every old Blogger URL would have returned a 308.
The fix was to deploy Workers static assets with HTML handling
set to none. A path such as
/p/about-us.html now returns 200. The
extensionless path returns 404, so it is not a duplicate. I
check this with a small URL test before a deploy.
wrangler pages dev still shows the 308, because
that command uses the Pages asset server. Production uses
wrangler dev and wrangler deploy.
The second break was quieter. Blogger often wraps a photo in a caption table. The first HTML cleanup treated those wrappers as tables and dropped the image. On 26 November 2026 I merged a fix that unwraps those caption tables, keeps the full-size image, and places the caption under it. I re-ran the importer and restored the missing images before the next deploy.
A third constraint was volume. A static redirect file cannot
hold one row for every old label. The Worker handles
/search/label/*, slugs the label the same way the
category pages do, and 301s to
/category/{slug}.html. On the live site,
/search/label/FinTech 301s to
/category/fintech.html, including the
?m=1 variant.
What I learned
URL parity is the migration. If the new host cannot serve
/slug.html as /slug.html, the rest of
the work is decoration. I should have treated the host's
HTML-handling rules as a pass/fail check at the start.
Public copy has to match the system. A placeholder meta description, a caption filter that drops photos, or a sitemap packed with thin label archives will show up in search later. I now want a written list of URLs that must return 200, 301, or 410, and a script that fails if any of those change.
A data-first keep-or-drop rule is easier to defend than a gut feeling about old posts. The same idea sits behind my note on fixing "Crawled - currently not indexed" pages with unique data. For PhilNews, Search Console traffic, backlinks, and an evergreen list decided what stayed in the index. Thin URLs return 410.
The useful unit of work stayed a small pull request. The scaffold, the layouts, the redirects, and the image fix each landed on their own. That is close to what I learned rebuilding my personal portfolio on GitHub Pages: review and a careful redirect plan matter more than a new theme.
What's next
PhilNews is live on Cloudflare, and I am writing for it
again. I will keep the .html URLs stable, review
each change before it goes out, and check public pages against
the expected status codes.
Explore the rest of the project
I am documenting these projects as I learn more about the technical side of content work.
You can also browse my learning notes, professional work, or the experiments in Ed's Lab.
FAQ
Is PhilNews still on Blogger?
No. As of 28 November 2026 it is a static Astro build served
by a Cloudflare Worker. The response headers say
server: cloudflare.
Did the post URLs change?
No. Public posts and pages stay at
/YYYY/MM/slug.html and
/p/slug.html. A 2026 post and
/p/about-us.html both return 200.
What happened to old Blogger label and feed URLs?
/search/label/FinTech 301s to
/category/fintech.html. The old
/feeds/posts/default path 301s to
/rss.xml.
Why Cloudflare Workers instead of Cloudflare Pages?
Pages redirects .html URLs to the extensionless
path, and that behavior cannot be turned off. Workers static
assets can serve /file.html with status 200,
which is what the old URLs needed.
When did publishing start again?
A 6 November 2026 check still showed 3 May 2026 as the newest post. The first new guide after the move went live on 27 November 2026: the 13th month pay article.