|
1 | 1 | === ActivityPub ===
|
2 | 2 | Contributors: automattic, pfefferle, mattwiebe, obenland, akirk, jeherve, mediaformat, nuriapena, cavalierlife, andremenrath
|
3 |
| -Tags: OStatus, fediverse, activitypub, activitystream |
| 3 | +Tags: fediverse, activitypub, indieweb, activity pub, activitystream, social web |
4 | 4 | Requires at least: 6.5
|
5 | 5 | Tested up to: 6.8
|
6 | 6 | Stable tag: 5.9.2
|
@@ -59,38 +59,20 @@ This plugin connects your WordPress blog to popular social platforms like Mastod
|
59 | 59 |
|
60 | 60 | = What is "ActivityPub for WordPress" =
|
61 | 61 |
|
62 |
| -*ActivityPub for WordPress* extends WordPress with some Fediverse features, but it does not compete with platforms like Friendica or Mastodon. If you want to run a **decentralized social network**, please use [Mastodon](https://joinmastodon.org/) or [GNU social](https://gnusocial.network/). |
| 62 | +*ActivityPub for WordPress* adds Fediverse features to WordPress, but it is not a replacement for platforms like Friendica or Mastodon. If you're looking to host a decentralized social network, consider using [Mastodon](https://joinmastodon.org/) or [Friendica](https://friendi.ca/). |
63 | 63 |
|
64 |
| -= What if you are running your blog in a subdirectory? = |
| 64 | += Why "ActivityPub"? = |
65 | 65 |
|
66 |
| -In order for webfinger to work, it must be mapped to the root directory of the URL on which your blog resides. |
| 66 | +The name ActivityPub comes from the two core ideas behind the protocol: |
67 | 67 |
|
68 |
| -**Apache** |
| 68 | +* Activity: It is based on the concept of activities, like "Create", "Like", "Follow", "Announce", etc. These are structured messages (usually in [ActivityStreams](https://www.w3.org/TR/activitystreams-core/) format) that describe what users do on the network. |
| 69 | +* Pub: Short for publish or publication. It refers to the fact that this is a publish-subscribe (pub-sub) protocol — one user can "follow" another, and receive their published activities. |
69 | 70 |
|
70 |
| -Add the following to the .htaccess file in the root directory: |
| 71 | +Put together, ActivityPub is a protocol for publishing and subscribing to activities, which enables decentralized social networking — where different servers can interact and users can follow each other across the Fediverse. |
71 | 72 |
|
72 |
| - RedirectMatch "^\/\.well-known/(webfinger|nodeinfo)(.*)$" /blog/.well-known/$1$2 |
| 73 | += How do I solve… = |
73 | 74 |
|
74 |
| -Where 'blog' is the path to the subdirectory at which your blog resides. |
75 |
| - |
76 |
| -**Nginx** |
77 |
| - |
78 |
| -Add the following to the site.conf in sites-available: |
79 |
| - |
80 |
| - location ~* /.well-known { |
81 |
| - allow all; |
82 |
| - try_files $uri $uri/ /blog/?$args; |
83 |
| - } |
84 |
| - |
85 |
| -Where 'blog' is the path to the subdirectory at which your blog resides. |
86 |
| - |
87 |
| -If you are running your blog in a subdirectory, but have a different [wp_siteurl](https://wordpress.org/documentation/article/giving-wordpress-its-own-directory/), you don't need the redirect, because the index.php will take care of that. |
88 |
| - |
89 |
| -= What if you are running your blog behind a reverse proxy with Apache? = |
90 |
| - |
91 |
| -If you are using a reverse proxy with Apache to run your host you may encounter that you are unable to have followers join the blog. This will occur because the proxy system rewrites the host headers to be the internal DNS name of your server, which the plugin then uses to attempt to sign the replies. The remote site attempting to follow your users is expecting the public DNS name on the replies. In these cases you will need to use the 'ProxyPreserveHost On' directive to ensure the external host name is passed to your internal host. |
92 |
| - |
93 |
| -If you are using SSL between the proxy and internal host you may also need to `SSLProxyCheckPeerName off` if your internal host can not answer with the correct SSL name. This may present a security issue in some environments. |
| 75 | +We have a **How-To** section in the [docs](https://github.com/Automattic/wordpress-activitypub/tree/trunk/docs/how-to) directory that can help you troubleshoot common issues. |
94 | 76 |
|
95 | 77 | = Constants =
|
96 | 78 |
|
|
0 commit comments