How to Host a Blog on a Subdirectory Instead of a Subdomain with Cloudflare Workers
Summary
This article provides a step-by-step guide to host a blog on a subdirectory using Cloudflare Workers, covering DNS configuration, Next.js basePath setup, and a proxy worker to route /blog to the blog. It also discusses SEO considerations, including robots.txt handling, and how to verify proper indexing (subdirectory indexed, subdomain not indexed).