Home

/

Blog

/

Introduction to Webmentions

Introduction to Webmentions

Learn what Webmentions are and how they enable decentralized conversations across the web.

Webmentions are a powerful W3C recommendation that enables conversations and interactions across different websites. Think of them as the decentralized version of comments, likes, and shares.

What Are Webmentions?

A Webmention is a simple notification that one URL links to another. When you write a blog post that references someone else's article, you can send them a Webmention to let them know. It's like a @mention on Twitter, but for the entire web.

How It Works

The process is straightforward:

  1. You publish content on your site that links to another URL
  2. Your site sends a Webmention to the target URL
  3. The target site verifies the link exists
  4. The target site can display your mention alongside their content

Key Benefits

Webmentions offer several advantages over centralized comment systems:

  • Ownership: You own your content on your domain
  • Decentralization: No single platform controls the conversation1
  • Standards-based: Built on open web standards
  • Privacy-friendly: No third-party tracking by default

Technical Details

Webmentions use a simple HTTP POST request:

POST /webmention-endpoint HTTP/1.1
Host: example.com
Content-Type: application/x-www-form-urlencoded

source=https://your-site.com/post&target=https://example.com/article

Getting Started

To implement Webmentions on your site, you need:

  1. A Webmention endpoint to receive mentions
  2. A way to discover endpoints on other sites
  3. A method to send Webmentions when you link to others
  4. A verification system to prevent spam

The specification provides all the details needed for implementation, making it accessible to developers at all skill levels.

Conclusion

Webmentions represent a significant step toward a more decentralized and open web. By enabling cross-site interactions while maintaining individual ownership, they provide a foundation for richer online conversations.

Footnotes

  1. This decentralized approach ensures that no single company can shut down or censor the conversation network. ↩

Related Posts

Implementing Webmentions: A Practical Guide

A hands-on guide to implementing Webmentions on your website, including code examples and best practices.

By

Commune Software