-
-
Notifications
You must be signed in to change notification settings - Fork 5.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New Issue URL with body isn't marked as noindex/nofollow #19018
Comments
How to validate the issue:
|
zeripath
added a commit
to zeripath/gitea
that referenced
this issue
Mar 7, 2022
Fix go-gitea#19018 Signed-off-by: Andrew Thornton <[email protected]>
techknowlogick
pushed a commit
that referenced
this issue
Mar 7, 2022
Fix #19018 Signed-off-by: Andrew Thornton <[email protected]>
zeripath
added a commit
to zeripath/gitea
that referenced
this issue
Mar 9, 2022
Backport go-gitea#19023 Fix go-gitea#19018 Signed-off-by: Andrew Thornton <[email protected]>
zeripath
added a commit
that referenced
this issue
Mar 9, 2022
Backport #19023 Fix #19018 Signed-off-by: Andrew Thornton <[email protected]>
Chianina
pushed a commit
to Chianina/gitea
that referenced
this issue
Mar 28, 2022
Fix go-gitea#19018 Signed-off-by: Andrew Thornton <[email protected]>
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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.Screenshots
The text was updated successfully, but these errors were encountered: