Docs/Subfolder hosting

Subfolder on Netlify

Serve the blog at yoursite.com/blog from a Netlify site with two proxy rules.

First enable Settings → Subfolder hosting in the dashboard. Then add proxy redirects (status 200 = proxy, not redirect).

netlify.toml[[redirects]] from = "/blog" to = "https://you.blogcms.app/_subfolder/index.html" status = 200 [[redirects]] from = "/blog/*" to = "https://you.blogcms.app/_subfolder/:splat" status = 200
  • Prefer the _redirects file? Same two lines: path, destination, 200.
  • Deploy, publish the blog once, then hit Verify setup.