惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Y
Y Combinator Blog
博客园_首页
量子位
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
H
Help Net Security
The Cloudflare Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
A
About on SuperTechFans
腾讯CDC
H
Hackread – Cybersecurity News, Data Breaches, AI and More
D
DataBreaches.Net
L
LangChain Blog
Stack Overflow Blog
Stack Overflow Blog
Jina AI
Jina AI
月光博客
月光博客
云风的 BLOG
云风的 BLOG
博客园 - 聂微东
Hugging Face - Blog
Hugging Face - Blog
雷峰网
雷峰网
C
Check Point Blog
V
V2EX
T
Tailwind CSS Blog
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Microsoft Security Blog
Microsoft Security Blog

Matthias Ott

Hello Again, World This, Still Not for Everyone The Shape of Friction WeissKlang L1 – Punching Above Its Weight Continvoucly Morged Value Webspace Invaders To Affinity and Beyond The Mystery of Storytelling Amateurs! Echoes of Connection Linear() Is Not (That) Linear View Transitions: The Smooth Parts Adding AVIF and WebP Support to My Craft CMS Site Challenge Acoustic Room Treatment and Building Sound Panels, Part 1: Planning Play On Overshoot The HTML Output Element Listening Closely Compressed Fluid Typography The Lifeblood of the Web What Could Go Wrong? That’s My Rank Making Space CSS :is() :where() the Magic Happens Visual Regression Testing for External URLs With Playwright Jane Goodall’s Famous Last Words European Tech Alternatives 🇪🇺 Independent Type Foundry Advent Calendar – Day 24: NaN Independent Type Foundry Advent Calendar – Day 23: Typotheque
An Internet Archive Plugin for Craft CMS 5 · Matthias Ott
Matthias Ott · 2025-03-17 · via Matthias Ott

Now that the Webmention plugin is finally Craft 5 compatible after last week's update, I jumped at the chance and updated another plugin I had once written for my personal site.

The Internet Archive plugin automates the archiving of your posts to the Wayback Machine. Each time you publish or update a post, the plugin submits the URL to the Internet Archive, so that a new snapshot is saved. It’s a great way to preserve your posts for the – hopefully unlikely – event that your personal website is going offline one day, but it also creates a historical archive of your content, allowing you to look up past versions of your pages.

Additionally, you can send all public URLs of your site to the Internet Archive at the touch of just one button in the Control Panel. The plugin will add all the URLs to Craft’s jobs queue and, one by one, send them over to the archive.

There are still a lot of features that would certainly be nice to add in the future: keeping a record of the entries and URLs that already have been sent to the Internet Archive, for example. Or sending the URLs of all the links within a post to the Internet Archive as well to prevent link rot – potentially even checking whether the original page is still available and replacing dead links on-the-fly with their archived Wayback Machine versions, similar to or maybe even using Remy Sharp’s ingenious unrot∙link. For pages with content that changes quite often, scheduled snapshots, for example on a weekly or monthly basis, could be useful. As could be a way to select which entry types and sections should be archived.

But for now, the plugin does the most important thing: it ensures your posts are archived by the Internet Archive. Plain and simple.

If you want to try it out yourself, you can install the plugin via Composer. Go to your Craft project in your terminal of choice and tell Composer to load the plugin:

composer require matthiasott/craft-internetarchive

In the Control Panel, go to Settings → Plugins and click the “Install” button for the Internet Archive plugin.

I’ll also submit the plugin to Craft’s Plugin Store soon.

Let me know how you like it. And in case you have any bugs, feature request, or other feedback to share, head over to the GitHub repository and file an issue. Or let me know via Mastodon, Bluesky, email, or Webmention.

Happy archiving! 🏛️🤘

~