📓 On WordPress and Webmentions

In a backchannel conversation, I was asked about what is involved in setting up webmentions. I responded there, but thought that I would keep a note of it here:


Hmmm, my suspicions to why my webmentions/linkbacks are not getting through is that they are being flagged as spam by spam filters. On the WordPress Webmention Plugin page, there is some code that you can add to functions.php file to prevent this:

function unspam_webmentions($approved, $commentdata) {
  return $commentdata['comment_type'] == 'webmention' ? 1 : $approved;
}

add_filter('pre_comment_approved', 'unspam_webmentions', '99', 2);

There is also More on Webmentions on the IndieWeb.org, but really it is a part of the IndieWeb plugin.

I was never really interested in endless mentions under my posts until facepiles.

In the end, it is a very technical solution at this point in time, but I feel it is worth persevering with. Like Chris Aldrich, I am not sold on Mastodon as the supposed solution to the social media and the web, but feel that there needs to be something better than FB and their shadow profiles.

Here is to hoping.

22 responses on “📓 On WordPress and Webmentions”

  1. Replied to On WordPress and Webmentions by Aaron Davis Aaron Davis (Read Write Collect) In a backchannel conversation, I was asked about what is involved in setting up webmentions. I responded there, but thought that I would keep a note of it here: Hmmm, my suspicions to why my webmentions/linkbacks are not getting through is that they are being flagged as spam by spam filters. On th…
    I really love the idea of webmentions, they seem to return us to the earlier days of the web, where conversation spanned sites. It also feel much more of an acknowledgement to get a mention on someones own site as opposed to a social media silo.
    I’ve already turned off the moderation of webmentions here, they get published immediately.
    As Aaron’ says the solution is technical. Even the basic use of webmentions take a step or two more than just setting up a blog.
    I notice mentions from some folk come through as mentions but don’t link to the post they come from. I do get the full post via email notification, so they must be sending all the information,but either my blog is not handling it correctly or they are not formatted in a way the blog understands. Like this:Like Loading…

  2. Replied to On WordPress and Webmentions by Aaron Davis Aaron Davis (Read Write Collect) In a backchannel conversation, I was asked about what is involved in setting up webmentions. I responded there, but thought that I would keep a note of it here: Hmmm, my suspicions to why my webmentions/linkbacks are not getting through is that they are being flagged as spam by spam filters. On th…
    I really love the idea of webmentions, they seem to return us to the earlier days of the web, where conversation spanned sites. It also feel much more of an acknowledgement to get a mention on someones own site as opposed to a social media silo.
    I’ve already turned off the moderation of webmentions here, they get published immediately.
    As Aaron’ says the solution is technical. Even the basic use of webmentions take a step or two more than just setting up a blog.
    I notice mentions from some folk come through as mentions but don’t link to the post they come from. I do get the full post via email notification, so they must be sending all the information,but either my blog is not handling it correctly or they are not formatted in a way the blog understands. Like this:Like Loading…

    1. Thanks John for your thoughts. The response I got elsewhere in regards to adding code was:

      Someone would need to lobby WP to allow web mentions? Not many people will manually add the code to their theme

      I think that this is important and wonder if webmentions will ever be whitelisted (assuming that is what is required.)

      Interestingly though, this post/webmention did not actually come through. I came upon it via RSS and manually pinged my site. Not sure what is up, but all your comments come via Jetpack it would seem, not via email or any other method. Also, when I go to your blog the posts are not actually included in the main theme. I had to go to 2017 to find them.

      Might be my site? Might be yours? Might be related to micro.blogs? Really not sure.

      1. I really liked Colin Walker’s point:

        Until Indieweb support is baked into core WordPress isn’t going to be the answer but there seems to be a reluctance to go this route.

        Needing to manually ping other sites is not going to achieve that.

        I collected some thoughts and reflections on my own tribulations here. I am just confused why the mentions are not even coming through to my spam? What is even more confusing is when I tried to manually add your comment to my ‘Co-claiming’ post, it gave me an error. Who knows what is going on. Maybe the error log has something, not sure.

  3. Pingback: Aaron Davis

Leave a Reply