fediversereport,
@fediversereport@mastodon.social avatar

Automattic, the company behind WordPress is now the official author of the ActivityPub plugin. This is pretty big news, since it allows every WordPress website to be a potential fediverse server.

In this piece I take a look at the potential impact on #fediverse culture, zooming in on how tagging your WordPress posts makes them show up when you search for a specific hashtag here on the fediverse.

How do you think this will change the fediverse?

@fediversenews
Read at: https://fediversereport.com/wordpress-on-the-fediverse/

ygalanter,
@ygalanter@hachyderm.io avatar

@fediversereport @fediversenews

Can't make it work for my site https://codecorner.galanter.net. It expect webfinger endoint https://codecorner.galanter.net/.well-known/webfinger?resource=acct:yuriy@codecorner.galanter.net to work, but it's not there, even with webfinger plugin installed. Bummer.

moira,
@moira@mastodon.murkworks.net avatar

@ygalanter @fediversereport @fediversenews i had this problem too, did you see the bits about adding rewrites in htaccess in some cases?

the plugin (which I’m running) has a variety of limitations so far and is underdocumented, that part being pretty key.

ygalanter,
@ygalanter@hachyderm.io avatar

@moira

Thanks, yes I dug a little deeper, I run WordPress on a Bitnami instance, with SSL managed by Letsencrypt. I think Letsencrypt uses it's own rewrite for .well-known for acme challenge. And from what I gathered I need to add my own rewrite for webfinger to work, but I haven't figured out what it should be, and where I should put it.

moira,
@moira@mastodon.murkworks.net avatar

@ygalanter oof. yeah we do dns verification on the webserver so we avoided that but yes it is exactly this rewrite issue. I was lucky in that my problem was an already-solved instance.

I can say that the original plugin author is very responsive in the support section of the plugin page, posting a description of your problem there is probably worth your time.

ygalanter,
@ygalanter@hachyderm.io avatar

@moira Thanks! Opened an issue, will see if it helps.

ygalanter,
@ygalanter@hachyderm.io avatar

@moira Ok, I did a hacky workaround, and now webfinger on my site works (or so I think):

https://codecorner.galanter.net/.well-known/webfinger?resource=acct:yuriy@codecorner.galanter.net

But WordPress site health still says

"Your WebFinger endpoint https://codecorner.galanter.net/.well-known/webfinger?resource=acct:yuriy@codecorner.galanter.net does not return valid JSON for application/jrd+json"

Not sure what else I am missing.

moira,
@moira@mastodon.murkworks.net avatar

@ygalanter Oh it’ll still work in that state just fine. I haven’t figured out how to fix that yet either ^_^

moira,
@moira@mastodon.murkworks.net avatar

@ygalanter basically i think the test it’s running is invalid xD

ygalanter,
@ygalanter@hachyderm.io avatar

@moira I thought working plugin means I should be able to find my WordPress user via Mastodon search, but it doesn't seem to find yuriy@codecorner.galanter.net

moira,
@moira@mastodon.murkworks.net avatar

@ygalanter ooooh then you’re maybe not okay. let me try from here. (did you add the leading @ sign?)

ygalanter,
@ygalanter@hachyderm.io avatar

@moira I tried with and without, initially it simple couldn't find anything, now I am getting "503: Remote data could not be fetched". Something is still wrong I think.

moira,
@moira@mastodon.murkworks.net avatar

@ygalanter yeah i can’t either, i think something isn’t right in your hack i’m afraid :/ because yes when it’s working you should be able to search the user normally and get a mastodon-style profile page.

ygalanter,
@ygalanter@hachyderm.io avatar

@moira My hack is (since I couldn't find a reliable way to rewrite URL) is just create "webfinger.php" with content:

https://paste.social/gist/YuriGal/b35af9a164e4cc95a8e772889f6e65aa

I set the required header, and output required data, but apparently still missing something.

tapasinthesun,

@ygalanter @moira I'm having the exact problem with ActivityPub.

Is this still working for you? Did you find a better solution?
Where exactly did you place the webfinger.php file?

Any help would be greatly appreciated.

ygalanter,
@ygalanter@hachyderm.io avatar

@tapasinthesun @moira I did end up with a more elegant solution. But it might be specific to my setup (WordPress running on Bitnami instance in AWS Lightsail): https://codecorner.galanter.net/2023/03/24/enable-activitypub-plugin-on-bitnami-wordpress-instance-with-letsencrypt/

tapasinthesun,

@ygalanter @moira Thanks for getting back to me so quickly. I think the problem is the same, but the implementation of the solution will be different. My site is hosted with SiteGround. I will contact their support and quote your solution and see what they will say. I will let you know.

tapasinthesun,

@ygalanter @moira Sadly this is the reply from SiteGround
We have revised the case and unfortunately, we won't be able to change our setup to meet the requirements of this plugin for access to the .well-known folder. This is a system folder with specific configuration which is why we cannot make changes on it as we are risking to break a lot of other services.
It would be best to report the problem to the plugin providers so they can consider implementing the option to change the discussed URL.

ygalanter,
@ygalanter@hachyderm.io avatar

@tapasinthesun @moira Oh this sucks. Btw, in plugin's setting when you go to "Site Health" and it says it cannot access Webfinger - if you take that URL into the browser - what does it say?

tapasinthesun,

@ygalanter @moira If it’s the URL I think you are referring to, I get a 404.
And to make things even worse, they have a total block on any redirects with the web finger path, so redirects just don’t work.

ygalanter,
@ygalanter@hachyderm.io avatar

@tapasinthesun @moira Yes... this probably will have to be solved at plugin side. They will have to account for these configurations.

moira,
@moira@mastodon.murkworks.net avatar

@ygalanter @tapasinthesun Just catching up and yeah, oof. That's a problem.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • fediverse
  • DreamBathrooms
  • ngwrru68w68
  • modclub
  • magazineikmin
  • thenastyranch
  • rosin
  • khanakhh
  • InstantRegret
  • Youngstown
  • slotface
  • Durango
  • kavyap
  • mdbf
  • GTA5RPClips
  • JUstTest
  • ethstaker
  • normalnudes
  • tester
  • osvaldo12
  • everett
  • cubers
  • tacticalgear
  • anitta
  • provamag3
  • Leos
  • cisconetworking
  • megavids
  • lostlight
  • All magazines