The Best WordPress Alternative for Astro

Meet the Astro WordPress alternative that gives you all the features you’re used to, with none of the headaches. Smooth, simple, and tasty content integration - that’s Butter.

Posted on August 1, 2023

Intuitive user interface

Our familiar dashboards melt into your existing workflow with no training required. Build better with ButterCMS.

Upgrade your SEO

With Butter, your marketing team keeps control over on page SEO ranking factors, and your site will load faster than ever.

A truly zero-maintenance solution

With ButterCMS, you can forget about security patches, software updates, plugin conflicts, and performance issues.

A familiar editing experience you’ll love

Butter provides a simple and smooth interface for editing, scheduling, and publishing your content. You get all of the dashboards and fields you’re used to, with none of the clutter.

If you’ve used WordPress or another CMS you’ll be able to pick up Butter instantly, with no additional training required.

Play video

See how Butter enables your marketing team to take control of their content across every channel.

Awesome SEO with no plugins required

Butter gives you control over meta tags and on-page SEO ranking factors, without getting a developer involved.

Modern SEO is all about page performance and user experience, and it’s no secret that older CMSs have trouble keeping up. 

Our Astro WordPress alternative is built on a modern API. Your content is served over a globally distributed CDN, making your site blazing fast.

Deploy our Astro Starter in 30 seconds

Or follow the below commands to clone a copy of the repo from github, install dependencies, set your free Butter token, and run your local server on localhost:3000/.

$ git clone
$ cd astro-starter-buttercms
$ npm install
$ echo 'ASTRO_APP_BUTTER_CMS_API_KEY=' >> .env
$ npm run start

Say “goodbye” to upgrades, conflicts, and security threats

Managing a collection of themes, plugins, and add-ons is tricky, time-consuming, and expensive.

Butter is a truly zero-maintenance solution. After your development team completes the initial configuration, their work is done. There are no versions, no security patches, and no forced upgrades. Never.

Eliminate your reliance on deprecated plugins and templates

Deprecated plugins and templates force you to rebuild content and entire pages that aren't on your roadmap, costing you time and money. With ButterCMS, your designers get full creative control over branding and UX, and your marketing team only rebuilds content when they want to.

Build your marketing stack using only the best of breed tools, alongside ButterCMS as your best of breed CMS.

Real support from real people

Consistent customer happiness is our #1 priority, and it shows in our customer reviews. We work with you from day 1 of your free trial to get you up and running quickly so your marketers can do their jobs efficiently, and your developers can get back to more important tasks.

When was the last time you spoke with a WordPress support team member in real-time?

Industry-Leading Support from Real People

When was the last time you spoke with a WordPress support team member in realtime?

headshot of Shane Whi

ButterCMS is easy to use, and their customer service is great! The few times I wasn’t able to figure something out, their support guided me through the entire process. Shane White Founder HelloRender

Built to make content marketing easy

ButterCMS is the best WordPress alternative for Astro for a simple reason: Astro developers can build solutions that marketing teams love. Our API allows your content gurus to quickly spin up high-converting blog posts, dynamic landing pages, SEO pages, product marketing pages, and more, all using simple drag-and-drop functionality.

  • SEO landing pages
  • Localized and personalized content
  • Customer case studies
  • Company news & updates
  • Events & webinar pages
  • And more...
G2 crowd review award G2 crowd review award G2 crowd review award G2 crowd review award G2 crowd review award G2 crowd review award G2 crowd review award G2 crowd review award G2 crowd review award G2 crowd review award G2 crowd review award G2 crowd review award

"Support is awesome"

headshot of Mike Ting

I love having control of my website content without having to use WordPress. The language option makes localization super easy. Their support is awesome. I made a complicated request and it was taken care of within 24 hours. Mike Tingey Founder & CTO Zennoa

Fast integration with any Astro app

Our mission was to make it easy to integrate Butter with your existing Astro app in minutes. It’s so simple! To demonstrate, here’s a mini tutorial to give you a feel for the process of adding marketing pages to your Astro app.

Of course, you can also use our Collections to do advanced content modeling. For a full integration guide, check out our Official Guide for the ButterCMS Astro API client.

Play video

See how easily you can integrate the ButterCMS Pages API with your Astro app.

ButterCMS saves you development time

Most customers get our Astro CMS up and running in less than an hour. Try it yourself!

headshot of Zoran Lorkov

Before ButterCMS, our dev team spent a lot of time in WordPress creating pages, adjusting fields, and pulling data through the APIs. What I really like about ButterCMS is that our marketing team managed to learn ButterCMS really quickly, and now they’re able to create pages and collections on their own. It saves a lot of time and allows our developers to focus on actual development. Zoran Lorkovic Vice President, Engineering Huckletree

How to integrate ButterCMS into your Astro application

Just follow the simple steps below to complete the integration and begin creating pages with Butter. Be sure to check out our full guide to creating pages using the ButterCMS Astro API. Make sure you've installed our SDK with $ npm install buttercms --save, or you can load Butter via CDN.

1. First, you would set up a new Customer Case Study page type in Butter and create a page. With your page defined, the ButterCMS API will return it in JSON format like this:

    "data": {
        "slug": "acme-co",
        "fields": {
            "facebook_open_graph_title": "Acme Co loves ButterCMS",
            "seo_title": "Acme Co Customer Case Study",
            "headline": "Acme Co saved 200% on Anvil costs with ButterCMS",
            "testimonial": "<p>We've been able to make anvils faster than ever before! - <em>Chief Anvil Maker</em></p>\r\n<p><img src=\"\" alt=\"\" caption=\"false\" width=\"249\" height=\"249\" /></p>",
            "customer_logo": "",

2. The easiest way to integrate these pages in our app is going to be with server-side rendering

To enable in this in your app (if you haven't already), open your astro.config.mjs file and add the output:'server' option to your defineConfig():

export default defineConfig({ 
     output: 'server', 

3. Now, create a new directory, customers, in your src/pages/ directory. Inside of this directory, create a new file, [slug].astro. This filename convention will allow you to dynamically pass the slug from ButterCMS as a new astro url route.


//code block 
import Butter from "buttercms";

/* We recommend instantiating Butter with a utility class, such as this example:,
but we'll do it in this file for now */

const butterCMS = Butter("your_api_token");

// Grab the slug from the filename to fetch data from Butter and store Page fields as PageFields
const caseStudyPageData = await"case_study", Astro.params.slug);
const pageFields =
    <title>{ pageFields.seo_title }</title>
    <meta property="og:title" content="{ pageFields.facebook_open_graph_title }" /> 
    <h1>{ pageFields.headline }</h1>
    <img width="100%" src={ pageFields.customer_logo }>
    <p set:html={ pageFields.testimonial } />

That's it! If you browse to /customers/acme-co/, you'll see your page populated with the content you created in Butter.

Get Started for Free

Try Butter free for 14 days

See for yourself what makes Butter the best Astro WordPress alternative. Click the button below to sign up for your free 14-day trial.