0
0
Fork 0
mirror of https://codeberg.org/forgejo/docs.git synced 2024-11-28 18:42:51 -05:00

admin: search-engines: be precise about where to find CustomPath

This commit is contained in:
Earl Warren 2023-12-08 20:30:06 +01:00
parent ade42a313d
commit 54a3207eb3
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -12,7 +12,7 @@ If you don't want your repository to be visible for search engines read further.
### Block search engines indexation using robots.txt
To make Forgejo serve a custom `robots.txt` (default: empty 404) for top level installations,
create a file called `robots.txt` at the root of the `CustomPath` as displayed in the `/admin` page.
create a file called `robots.txt` at the root of the `Custom File Root Path` as displayed in the `/admin/config` page.
Examples on how to configure the `robots.txt` can be found at [https://moz.com/learn/seo/robotstxt](https://moz.com/learn/seo/robotstxt).