An Internet Archive Plugin for Craft CMS 5 Posted March 16, 2025 by Matthias Ott 32 Webmentions #Craft CMS #indieweb #internet archive #plugins #Web 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! 🏛️🤘 ~ 32 Webmentions Max Fenton 17 March 2025 | 01:35 @matthiasott I love this. Thank you. I’ll try to kick the tires and add this to folkstreams.net as soon as possible. 10 Reposts Brandon Kelly 21 March 2025 | 12:27 Alex | アレックス 21 March 2025 | 12:27 Brandon Kelly 21 March 2025 | 12:27 Max Fenton 21 March 2025 | 12:27 Craft CMS 21 March 2025 | 12:27 stringy 21 March 2025 | 12:27 Craft CMS 21 March 2025 | 12:27 brad_frost 21 March 2025 | 12:27 Amy 21 March 2025 | 12:27 Sean 4 May 2025 | 15:26 21 Likes Alistair 21 March 2025 | 12:27 Brandon Kelly 21 March 2025 | 12:27 Brandon Kelly 21 March 2025 | 12:27 Mats Mikkel Rummelhoff 21 March 2025 | 12:27 Alex | アレックス 21 March 2025 | 12:27 Will Browar 👨🏻💻 21 March 2025 | 12:27 Fernando Mateus 21 March 2025 | 12:27 Curtis 21 March 2025 | 12:27 Craft CMS 21 March 2025 | 12:27 Craft CMS 21 March 2025 | 12:27 Seth 21 March 2025 | 12:27 brad_frost 21 March 2025 | 12:27 Leevi 21 March 2025 | 12:27 Cassidy 21 March 2025 | 12:27 cassidoo 21 March 2025 | 12:27 Harry Keller 21 March 2025 | 12:27 Patrick Nesbitt 21 March 2025 | 12:27 vnali 21 March 2025 | 12:27 Henry Bley-Vroman 21 March 2025 | 12:27 Mark Busnelli Jr 21 March 2025 | 12:27 205TF 21 March 2025 | 12:28 ⓘ Webmentions are a way to notify other websites when you link to them, and to receive notifications when others link to you. Learn more about Webmentions. Have you published a response to this? Send me a webmention by letting me know the URL. Ping! More Notes Ad Infinitum Lazy and Prompt Buckle Up At Machine Speed
Max Fenton 17 March 2025 | 01:35 @matthiasott I love this. Thank you. I’ll try to kick the tires and add this to folkstreams.net as soon as possible.