Subdirectory and Apache
I've addes a wee bit on how to edit your .htaccess file
This commit is contained in:
parent
266a98786c
commit
9298c2b1c5
1 changed files with 10 additions and 0 deletions
10
README.md
10
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.
|
*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).
|
||||||
|
|
Loading…
Reference in a new issue