Docs/Your site

Subfolder hosting

Serve the blog from example.com/blog on a site you already run — the structure search engines reward most.

Set it up

  • Open Settings → Subfolder hosting, enter your website and the path (like /blog), and pick nested or flat post URLs.
  • Copy the generated nginx config into your site's server block.
  • Reload nginx, publish the blog once, then hit Verify setup.
nginxlocation = /blog { proxy_pass https://you.blogcms.app/_subfolder/; proxy_set_header Host you.blogcms.app; proxy_ssl_server_name on; } location = /blog/ { return 301 /blog; } location /blog/ { proxy_pass https://you.blogcms.app/_subfolder/; proxy_set_header Host you.blogcms.app; proxy_ssl_server_name on; }
The three blocks make /blog canonical with no trailing slash and no duplicate content. Not on nginx? Every platform has a guide in the sidebar: Apache, Next.js, Vercel, Netlify, and Cloudflare (which also covers Webflow, Framer, Shopify, and other site builders).