Description
Gitea Version
1.16.3
Git Version
2.30.2
Operating System
ArchLinux
How are you running Gitea?
Running the latest docker container, using the configuration here: https://git.captnemo.in/nemo/nebula/src/branch/master/gitea
Database
SQLite
Can you reproduce the bug on the Gitea demo site?
No
Log Gist
Access logs showing the URL being hit by bots.
https://www.toptal.com/developers/hastebin/raw/wisiqikasi
Description
While going through the Google Search console against my website, I noticed a lot of URLs that should ideally be marked by Gitea as nofollow noindex
but aren't.
I went through both the source and the Google results, but was unable to find where these URLs are getting picked up from.
The URLs are of the format: /:org/:repo/issues/new?body=https://example.com/:org/:repo/src/commit/:commit/:path
.
Google is not indexing these currently because these are marked as "Page with redirect" (Gitea redirects Google to a login page), but ideally these should be marked as noindex nofollow
so that Google doesn't try to follow the redirect in the first place.