Subdirectory and Apache

I've addes a wee bit on how to edit your .htaccess file
This commit is contained in:
Charles Céleste Hutchins 2019-06-10 15:52:44 +01:00 committed by GitHub
parent 266a98786c
commit 9298c2b1c5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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).