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

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


My pronouns are whatever you're comfortable with as long as you speak to me with respect. I'm an Afruikan and Iswa refugee living in Canaan. That's African American expat in Israel in Normalian. I build websites, make art, and assist people in exercising their spirituality. I'm also the king of an ile, Baalat Teva, a group of African spirituality adherents here. Feel free to contact me if you are in need of my services or just want to chat.

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.

  • You’ve read the article, now get the t-shirt! :-D