Add a blog to Netlify at /blog
The short answer
On Netlify, add two lines to the top of your _redirects file. The 200! status tells Netlify to proxy /blog to Ranken instead of redirecting, so visitors and search engines stay on your domain.
- Method
- Two proxy rules in _redirects
- Time
- About 2 minutes
- You need
- A site hosted on Netlify
- Ranken plan
- Starter or Pro
How do I add a blog to Netlify?
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
Add these lines to the top of _redirects
The file lives in your publish folder, for example public/_redirects.
_redirects /blog https://proxy.ranken.blog/your-blog 200! /blog/* https://proxy.ranken.blog/your-blog/:splat 200! - 2
Deploy
Push and let Netlify redeploy.
Status 200 makes Netlify proxy instead of redirect.
What should you check before you start?
- Keep the two rules above every other rule in the file.
- If your redirects live in netlify.toml, add matching [[redirects]] entries with status = 200 and force = true.
Why put your Netlify 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.
Netlify blog questions
Is this a Netlify reverse proxy?
Yes. A status 200 rule makes Netlify act as a reverse proxy for /blog. A 301 would send visitors to another address instead. Status 200 makes Netlify fetch the blog and serve it at your own /blog URL, which keeps the SEO value on your domain. The ! applies the rule even if a file exists at that path.
I use netlify.toml. What do I add?
Two [[redirects]] entries with from, to, status = 200 and force = true, one for /blog and one for /blog/*.
Add a blog to another platform
Steps checked . See all integrations
Your Netlify 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.