Blog

Tutorials, guides, and news for people who build with Surreal CMS.

Start here

Why Surreal CMS works the way it does.

4 min read

How to Let Clients Edit a Static Website

For freelancers and agencies who want clients editing their own content while the website stays static, fast, and on your own hosting.

4 min read

Most Websites Can Be Static

Static websites are becoming more and more popular these days. Here's why you should consider going static for your next project.

3 min read

Choosing a Host for a Static Website

Surreal CMS works with your existing web host, Cloudflare R2, Amazon S3, DigitalOcean Spaces, and more. Here's how to choose.

Integrating Surreal CMS

Tutorials for templates, galleries, code blocks, and the editor.

Give Uploads Their Own Folder

The upload folder is the only part of your server that users can change. Why it should be a folder of its own, and what happens when it isn't.

Handing Off a Website to a Client

What to check before you invite a client to edit their website.

Adding a Blog to a Static Website

How to add a simple blog to a static website with repeatables and a template, and use the same setup for a news or events page.

Moving a WordPress Site to Static HTML

How to move a small WordPress website to static HTML, keep its URLs, and let your client keep editing it with Surreal CMS.

Connect Your AI Agent to Surreal CMS

Give your agent a token and it can create sites, enable pages, and invite your clients. Everything it does is logged as its work.

Setting Up Surreal CMS with an AI Agent

Our agent skill teaches AI coding agents how to make a website editable in Surreal CMS and set it up in your account.

How To Encourage Proper Headings In Webpages

Using headings properly in a webpage will improve its structure and make it easier for humans and automated tools to consume content. Here's how you can encourage the use of proper headings in Surreal CMS.

Why the Editor Uses Paragraph Tags

The editor puts text in block regions inside paragraph tags. Here's why it works that way and how to control the spacing.

How To Preserve Empty Elements

By default, the editor removes empty elements as part of its cleanup process. This post will show you how to preserve them when needed.

Automatic Code Cleanup

Surreal CMS works hard to keep your code as tidy as possible. The editor has always produced semantic markup, but now we've taken things a step further to make sure your code is easy to read even when you view the source.

Creating a Lightbox Gallery

Lightbox is one of the most popular ways to display photos in a gallery. This tutorial shows you how to integrate the original Lightbox 2 with Surreal CMS using code you can copy and paste.

Creating a Fancybox Gallery

Fancybox is a feature-rich lightbox library for presenting photo galleries. This tutorial shows you how to integrate Fancybox 3 with Surreal CMS using code you can copy and paste.

Highlighting Code Blocks

Two ways to add syntax highlighting to code blocks in Surreal CMS: MicroLighter, which doesn't change your markup, and the tried and true Prism.js.

Best Practices for Filenames on the Web

Some filenames are better than others. We enforce a certain pattern to ensure your website follows best practices for naming files on the web.

Hosting and troubleshooting

Servers, security, and fixes for the problems that come up most.

Hosting an Agent-Built Website on Cloudflare R2

Put a static website your agent built in a Cloudflare R2 bucket, serve it on your domain, and connect Surreal CMS so your client can edit it.

Hosting an Agent-Built Website on Amazon S3

Put a static website your agent built in a private Amazon S3 bucket behind CloudFront, serve it on your domain, and connect Surreal CMS so your client can edit it.

Hosting an Agent-Built Website on DigitalOcean Spaces

Put a static website your agent built in a DigitalOcean Spaces bucket, serve it on your domain through a Cloudflare Worker, and connect Surreal CMS so your client can edit it.

Example IAM Policy for AWS S3

If you're setting up a website on S3 + CloudFront, this example policy will help.

Working with HTTP Authentication

Some designers use HTTP Authentication to protect certain pages from being accessed without a username and password. This post shows you how to make protected pages load in the editor.

Enabling Cross-domain Fonts with CORS

If you're serving web fonts from a different origin than your website, you might find that they don't load in certain browsers. Here's why that happens and how you can fix it.

Troubleshooting Character Encoding Issues

If you publish changes and see strange characters appear aftwards, chances are the page's character encoding is wrong. This post will show you how to fix that.

Two-factor Authentication

Now you can add an extra layer of security to your account by enabling two-factor authentication. This can be turned on for any individual account or, as an admin, you can require it for all your users.

Troubleshooting Credit Card Issues

If you're buying something online, there's a good chance it will be on a credit card. Unfortunately, charges don't always go through when you expect them to.

Stories and opinions

How people use Surreal CMS, and how we run it.

How One Bar Uses Surreal CMS To Manage Their Menu

Here's a great story about a bar in Buffalo that uses Surreal CMS in a unique way — to power their digital beer menu!

Lessons Learned From a 10 Year Old SaaS

I launched a SaaS product in 2008. Here's how I got started and some of the things I've learned over the years.

Why SaaS is Cheaper Than Installable Software

As a SaaS provider, this question comes up all the time: "Is there an installable version of your software that I can put on my own server?"

Why We Don’t Offer Phone Support

Every so often, someone asks if I provide phone support. The short answer is no, and there's a good reason for that. Spending all that time on the phone would actually make my support pretty lousy.

Older news

Announcements that have been overtaken by later versions.

So simple, it’s Surreal

Free for personal, educational, and non-profit websites.

By signing up, you agree to the terms of service.