From 00062d96effb27c961ca36176abf1d21c7a2db67 Mon Sep 17 00:00:00 2001 From: Matthias Pfefferle Date: Sun, 18 Aug 2019 21:47:33 +0200 Subject: [PATCH] formatting --- README.md | 8 +++++--- readme.txt | 14 +++++++++++++- 2 files changed, 18 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index dee3641..53b2f0c 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ **Donate link:** https://notiz.blog/donate/ **Tags:** OStatus, fediverse, activitypub, activitystream **Requires at least:** 4.7 -**Tested up to:** 5.2 +**Tested up to:** 5.2.2 **Stable tag:** 0.7.2 **Requires PHP:** 5.6 **License:** MIT @@ -60,12 +60,14 @@ To implement: ### What if you are running your blog in a subdirectory? ### -In order for webfinger to work, it must be mapped to the root directory of the URL on which your blog resides. +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"` + + RedirectMatch "^\/\.well-known(.*)$" "\/blog\/\.well-known$1" + Where 'blog' is the path to the subdirectory at which your blog resides. ## Changelog ## diff --git a/readme.txt b/readme.txt index 3192646..7a38c4e 100644 --- a/readme.txt +++ b/readme.txt @@ -3,7 +3,7 @@ Contributors: pfefferle Donate link: https://notiz.blog/donate/ Tags: OStatus, fediverse, activitypub, activitystream Requires at least: 4.7 -Tested up to: 5.2 +Tested up to: 5.2.2 Stable tag: 0.7.2 Requires PHP: 5.6 License: MIT @@ -58,6 +58,18 @@ To implement: *Pterotype* creates/uses a bunch of custom tables, *ActivityPub for WordPress* only uses the native tables and adds as few meta data as possible. += What if you are running your blog in a subdirectory? = + +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. + == Changelog == Project maintained on github at [pfefferle/wordpress-activitypub](https://github.com/pfefferle/wordpress-activitypub).