Netlify guide

How to add a blog to a website hosted on Netlify

Netlify can serve a blog at yourbrand.com/blog with two lines in your _redirects file. Outrank hosts the blog, so there is nothing else to build or maintain.

Create my free blog

Free with Outrank Blogs. No credit card needed. See what is included

Subfolder

Your blog at yourbrand.com/blog

The 200! rules proxy every request under /blog to your Outrank blog, so the address in the browser stays on your domain.

Step by step

Set up your blog on Netlify

  1. 1Create your free blog: enter your website and pick a template. It is live in about a minute.Start here
  2. 2In Outrank, open Blog → Settings → Domain and choose “Subfolder”. Enter your website address, such as yourbrand.com, keep the path /blog and click Continue. Outrank shows the code for your setup with your blog’s address already filled in.
  3. 3Add these lines at the top of the _redirects file in your publish directory, before any other rule.
  4. 4Redeploy your site, then click Check now in Outrank.
  5. 5Add a “Blog” link to your site’s header or footer that points to /blog.
_redirects
/blog/*  https://o--your-blog-id.outrankblog.com/:splat  200!
/blog    https://o--your-blog-id.outrankblog.com/        200!

Example only. In your dashboard, Outrank shows this code with your blog’s own address filled in.

Tips for Netlify

  • Single-page apps often end _redirects with /* /index.html 200. Keep it as the last line.
  • Using netlify.toml instead? Add the same rules as [[redirects]] entries with status 200 and force = true.

Want the posts written for you?

Outrank can research keywords and publish 30 SEO articles a month to your blog, on autopilot.

See plans

FAQ

Adding a blog to Netlify: questions

Short answers to what people ask most.

Why put the blog in a subfolder instead of a subdomain?
Search engines treat yourbrand.com/blog as part of your main website, so every post builds the authority of the domain your product pages are on. A subdomain like blog.yourbrand.com works too and is quicker to set up, but it is treated more like a separate site.
Do I need a paid Netlify plan?
No. Proxy rewrites in _redirects work on Netlify’s free plan.
Does connecting my own domain cost anything?
No. Connecting a subdomain, a subfolder or a separate domain is free on every Outrank Blogs plan, and HTTPS is included.

Start today

Your blog can be live before your coffee gets cold.