Docs/Subfolder hosting

Subfolder on Render

Serve the blog at yoursite.com/blog from a Render static site with two rewrite rules.

First enable Settings → Subfolder hosting in the dashboard. Then open your Render service → Redirects/Rewrites and add these two rules (action: Rewrite):

Render rulesSource: /blog Destination: https://you.blogcms.app/_subfolder/index.html Action: Rewrite Source: /blog/* Destination: https://you.blogcms.app/_subfolder/* Action: Rewrite
  • Running a dynamic web service instead of a static site? Proxy inside your app or use the framework guide (Next.js, Nuxt) that matches your stack.
  • Publish the blog once, then hit Verify setup.