Skip to content

Commit f7ebced

Browse files
authored
Fix .htaccess issue with subdomain (#433)
* Fix .htaccess instructions * Update readme.txt
1 parent f9218eb commit f7ebced

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ In order for webfinger to work, it must be mapped to the root directory of the U
8686

8787
Add the following to the .htaccess file in the root directory:
8888

89-
RedirectMatch "^\/\.well-known/(webfinger|nodeinfo|x-nodeinfo2)(.*)$" "\/blog\/\.well-known$1$2"
89+
RedirectMatch "^\/\.well-known/(webfinger|nodeinfo|x-nodeinfo2)(.*)$" /blog/.well-known/$1$2
9090

9191
Where 'blog' is the path to the subdirectory at which your blog resides.
9292

readme.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ In order for webfinger to work, it must be mapped to the root directory of the U
8686

8787
Add the following to the .htaccess file in the root directory:
8888

89-
RedirectMatch "^\/\.well-known/(webfinger|nodeinfo|x-nodeinfo2)(.*)$" "\/blog\/\.well-known$1$2"
89+
RedirectMatch "^\/\.well-known/(webfinger|nodeinfo|x-nodeinfo2)(.*)$" /blog/.well-known/$1$2
9090

9191
Where 'blog' is the path to the subdirectory at which your blog resides.
9292

0 commit comments

Comments
 (0)