Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Matthias Pfefferle

    (@pfefferle)

    Hey @bc3tech ??

    This might be possible if you configure the short URL properly and if you make some changes to the plugin using filters and hooks.

    ActivityPub is a quite complex protocol and needs some settings that require some Webserver configurations like for example the .well-known path (here is an example for my blog: https://notiz.blog/.well-known/webfinger?resource=acct%3Apfefferle%40notiz.blog).

    I can do these changes from inside of WordPress (using rewrite rules), but not for a different system on a different URL, so sadly this is not possible without some handmade config changes and some coding.

    Sorry ??

    Thread Starter bc3tech

    (@bc3tech)

    I’m a software engineer so not afraid to do any of that, just need to know which files and a sample setup. Is the .well-known piece the only thing I should need or might there be more?

    I already have the webfinger addon installed on top of the activitypub one

    • This reply was modified 5 months, 3 weeks ago by bc3tech.
    Plugin Author Matthias Pfefferle

    (@pfefferle)

    Ok, let’s see:

    1. You need an .well-known/webfinger endpoint on the domain of the short URL, that has the same content as the longer domain, but you have to replace all the domains.
    2. You need profile IDs for every Author you want to be followable under the short domain. The structure of the URL can be different.
    3. These URLs have to return the user JSON also with the domain replaced.
    4. You have to hook into the plugin to replace the Actor URL of the posts, to federate them with the correct short URL.

    That is at least the very short version of it and I hope I have not missed something.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.