NewFirst month of Starter or Pro for $1Your first month of Starter or Pro for just $1, then cancel anytimeSee pricing
Ranken logoRanken.io

Add a blog to Webflow at /blog

The short answer

Webflow hosting cannot proxy a path, so a Cloudflare Worker in front of your site serves /blog from Ranken. Webflow keeps serving and publishing every other page, and the blog lives on your own domain.

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
yoursite.com/blog
/blog/*WorkerRanken blog
/*Webflow site
Only /blog goes to Ranken. Every other page keeps working on Webflow, on the same domain.

How do I add a blog to Webflow?

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. 1

    Put your domain on Cloudflare

    Webflow can't proxy a path by itself. Add the domain to Cloudflare and keep its DNS records proxied (orange cloud).

  2. 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. 3

    Add the route

    In the Worker, open Settings, then Domains & Routes, and add the route www.yoursite.com/blog*

Webflow keeps serving the rest of your site. Only /blog goes to Ranken.

What should you check before you start?

  • Delete or rename any Webflow page at /blog so it never competes with the blog.
  • Webflow keeps serving and publishing every other page of the site.

Why put your Webflow 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.

Webflow blog questions

Can I keep my Webflow CMS blog?

Yes, at a different path such as /news. The Ranken blog needs /blog for itself, so rename the Webflow collection page that uses it.

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 Webflow 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.