Add a blog to Framer at /blog
The short answer
Framer cannot proxy a path, so a Cloudflare Worker in front of your site serves /blog from Ranken while Framer keeps every other page. You keep designing and publishing in Framer as usual.
- Method
- A Cloudflare Worker in front of the site
- Time
- About 4 minutes
- You need
- Your domain's DNS on Cloudflare
- Ranken plan
- Starter or Pro
How do I add a blog to Framer?
Create your blog in Ranken and choose a /blog subfolder, then follow these steps. The examples use www.yoursite.com/blog. Your dashboard shows the same steps with your own address filled in, plus a prompt you can paste into an AI coding assistant.
- 1
Put your domain on Cloudflare
Framer can't proxy a path by itself. Add the domain to Cloudflare and keep its DNS records proxied (orange cloud).
- 2
Create a Cloudflare Worker
Workers & Pages, then Create, then Hello World. Replace the code with this and deploy.
worker.js // Ranken blog: /blog/* is served from Ranken. const BLOG_PATH = "/blog"; const ORIGIN = "https://proxy.ranken.blog/your-blog"; export default { async fetch(request) { const url = new URL(request.url); const rest = url.pathname.slice(BLOG_PATH.length); if (rest && !rest.startsWith("/")) return fetch(request); // another page, e.g. /blog-old const upstream = new Request(ORIGIN + rest + url.search, request); // Pages are cached at Cloudflare's edge for as long as Ranken's Cache-Control // allows; page-data requests (RSC header) are never cached here. const cacheable = request.method === "GET" && !request.headers.has("RSC"); return fetch(upstream, cacheable ? { cf: { cacheEverything: true } } : undefined); }, }; - 3
Add the route
In the Worker, open Settings, then Domains & Routes, and add the route www.yoursite.com/blog*
Framer keeps serving the rest of your site. Only /blog goes to Ranken.
What should you check before you start?
- Delete or rename any Framer page at /blog so it never competes with the blog.
- Framer keeps serving and publishing every other page of the site.
Why put your Framer blog at /blog instead of a subdomain?
A subfolder keeps every article on your main domain, so the links and authority each post earns build up in one place, next to your product or store pages. A subdomain such as blog.yoursite.com works too, but search engines can treat it more like a separate site. Ranken supports both, plus a custom domain.
Framer blog questions
Can I still edit the site in Framer?
Yes. Framer keeps serving and publishing every page except /blog, which Ranken serves through the Worker.
Do I need a paid Cloudflare plan?
No. Workers and routes are available on Cloudflare's free plan, which covers the traffic of most company blogs.
Add a blog to another platform
Steps checked . See all integrations
Your Framer site, now with a blog that ranks
Ranken hosts the blog at /blog with SEO, schema, llms.txt and one-click indexing built into every post.