Jump to the navigation menu

Archiving Drupal websites as static websites

Static websites can be created by writing each file by hand or using a tool like a static site generator.

But what if you've already got a dynamic website that you no longer need to be editable?

What if it was for an event that has passed, like a DrupalCamp?

If you no longer need to update the content via the admin UI, you could archive it by converting it to a static website.

Then you no longer need to maintain and update it, and simplify your hosting environment.

You could use Tome, a static site generator for Drupal, or use command line tools like wget with options like --mirror to create a static version by crawling a live website.

There are a few options on Drupal.org, which will also work with other CMSes and frameworks.

This is what I've done for old websites like our old DrupalCamp Bristol websites.

That means they're still available for people to see, but without the maintenance and security overhead.

- Oliver

Was this interesting?

Sign up here and get more like this delivered straight to your inbox every day.

About me

Picture of Oliver

I'm an certified Drupal Triple Expert with 18 years of experience, a Drupal core contributor, public speaker, live streamer, and host of the Beyond Blocks podcast.