What to do if your site or blog is in a subfolder: ActivityPub – FAQ – WordPress Plugin | 2022

WPSocket
ActivityPub – FAQ (wpsocket.com)

Activitypub in a Subfolder

 This little snippet of code needs more love. It will work on most hosts, but apparently not all. If you are looking for an option likely to work if your blog is in a subfolder on your domain, try this to start.

In order for WebFinger to work, it must be mapped to the root directory of the URL on which your blog resides. Apache Add the following to the .htaccess file in the root directory: RedirectMatch “^\/\.well-known(.*)$” “\/blog\/\.well-known$1” Where ‘blog’ is the path to the subdirectory at which your blog resides.

Source: ActivityPub – FAQ – WordPress Plugin | 2022

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.