# How to resolve .well-known/webfinger -

**URL:** <https://help.nextcloud.com/t/how-to-resolve-well-known-webfinger/145708>\
**Category:** ℹ️ Support\
**Created:** [September 16, 2022, 8:36am UTC](https://help.nextcloud.com/t/how-to-resolve-well-known-webfinger/145708 "2022-09-16T08:36:54Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Chartman123](https://help.nextcloud.com/user_avatar/help.nextcloud.com/chartman123/32/15034_2.png) [@Chartman123](https://help.nextcloud.com/u/Chartman123)\
**Post date:** [September 16, 2022, 5:00pm UTC](https://help.nextcloud.com/t/how-to-resolve-well-known-webfinger/145708/4 "2022-09-16T17:00:14Z")

</div>

Let me quote from the documentation:

> If your Nextcloud instance is installed in a subfolder called nextcloud and you’re running Apache create or **edit the .htaccess file within the document root of your Web server** and add the following lines:

```auto
<IfModule mod_rewrite.c>
  RewriteEngine on
  RewriteRule ^/\.well-known/carddav /nextcloud/remote.php/dav [R=301,L]
  RewriteRule ^/\.well-known/caldav /nextcloud/remote.php/dav [R=301,L]
  RewriteRule ^/\.well-known/webfinger /nextcloud/index.php/.well-known/webfinger [R=301,L]
  RewriteRule ^/\.well-known/nodeinfo /nextcloud/index.php/.well-known/nodeinfo [R=301,L]
</IfModule>

```

---

_[View the full topic](https://help.nextcloud.com/t/how-to-resolve-well-known-webfinger/145708)._
