From 9298c2b1c51d5ee37051e81bf7ab5c2dcedbfafd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charles=20C=C3=A9leste=20Hutchins?= Date: Mon, 10 Jun 2019 15:52:44 +0100 Subject: [PATCH] Subdirectory and Apache I've addes a wee bit on how to edit your .htaccess file --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index 24e1048..dee3641 100644 --- a/README.md +++ b/README.md @@ -58,6 +58,16 @@ 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).