formatting

This commit is contained in:
Matthias Pfefferle 2019-08-18 21:47:33 +02:00
parent 55303bf34c
commit 00062d96ef
2 changed files with 18 additions and 4 deletions

View file

@ -3,7 +3,7 @@
**Donate link:** https://notiz.blog/donate/ **Donate link:** https://notiz.blog/donate/
**Tags:** OStatus, fediverse, activitypub, activitystream **Tags:** OStatus, fediverse, activitypub, activitystream
**Requires at least:** 4.7 **Requires at least:** 4.7
**Tested up to:** 5.2 **Tested up to:** 5.2.2
**Stable tag:** 0.7.2 **Stable tag:** 0.7.2
**Requires PHP:** 5.6 **Requires PHP:** 5.6
**License:** MIT **License:** MIT
@ -60,12 +60,14 @@ To implement:
### What if you are running your blog in a subdirectory? ### ### 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** **Apache**
Add the following to the .htaccess file in the root directory: 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. Where 'blog' is the path to the subdirectory at which your blog resides.
## Changelog ## ## Changelog ##

View file

@ -3,7 +3,7 @@ Contributors: pfefferle
Donate link: https://notiz.blog/donate/ Donate link: https://notiz.blog/donate/
Tags: OStatus, fediverse, activitypub, activitystream Tags: OStatus, fediverse, activitypub, activitystream
Requires at least: 4.7 Requires at least: 4.7
Tested up to: 5.2 Tested up to: 5.2.2
Stable tag: 0.7.2 Stable tag: 0.7.2
Requires PHP: 5.6 Requires PHP: 5.6
License: MIT 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. *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 == == Changelog ==
Project maintained on github at [pfefferle/wordpress-activitypub](https://github.com/pfefferle/wordpress-activitypub). Project maintained on github at [pfefferle/wordpress-activitypub](https://github.com/pfefferle/wordpress-activitypub).