Skip to content
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

Support for multiple X-Robots-Tags #32102

Closed
ozboss opened this issue Apr 23, 2022 · 4 comments · Fixed by #36689 or nextcloud/documentation#9635
Closed

Support for multiple X-Robots-Tags #32102

ozboss opened this issue Apr 23, 2022 · 4 comments · Fixed by #36689 or nextcloud/documentation#9635
Assignees
Labels
Milestone

Comments

@ozboss
Copy link

ozboss commented Apr 23, 2022

How to use GitHub

  • Please use the 👍 reaction to show that you are interested into the same feature.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Is your feature request related to a problem? Please describe.
The Nextcloud Overview page issues a warning when the X-Robots-Tag is not set exclusively to 'none'.
The problem is 'none' is not supported by Bing. This causes multiple Nextcloud instances to be indexed by Bing, even though this is probably not intended.
One example would be https://cloud.dresden.de/. The page is easily found by searching in Bing and it does have the X-Robots-Tag set to 'none'.

Describe the solution you'd like
One solution would be to keep the requirement for the 'none' tag but allow more tags. This way X-Robots-Tag could be set to 'none,noindex,nofollow'. This way the instance should not be indexed by Bing as well as other search engines.

Describe alternatives you've considered
The alternative currently is to ignore the warning, which is kind of annoying.
(A way to disable warnings would also be appreciated.)

@ozboss ozboss added 0. Needs triage Pending check for reproducibility or if it fits our roadmap enhancement labels Apr 23, 2022
@ozboss
Copy link
Author

ozboss commented Apr 23, 2022

Well this issue might have been created prematurely, after looking closer these pages also appear on the Google search results. But without any information ... just like on Bing. So apparently pages with a lot of access still appear in the search results.
Is the 'none' tag then supported by Bing? I found only information on it not being supported. But apparently the behavior is the same as on Google and it does not actually stop it from showing up in search results.

@kesselb
Copy link
Contributor

kesselb commented Apr 23, 2022

@MichaIng MichaIng added 1. to develop Accepted and waiting to be taken care of and removed 0. Needs triage Pending check for reproducibility or if it fits our roadmap labels Feb 13, 2023
@MichaIng MichaIng added this to the Nextcloud 26 milestone Feb 13, 2023
@MichaIng
Copy link
Member

Wow, this explains a lot, never know that Bing does not support none. Yes makes much sense then to change it.

Btw, Nextcloud also sets the HTML meta tag

<meta name="robots" content="noindex, nofollow"/>

So actually one should be safe also for Bing. I'll open a report.

@MichaIng
Copy link
Member

MichaIng commented Feb 13, 2023

PR up: #36689

It does not exactly address the request here to support multiple values, i.e. for not unsetting but appending the values via .htaccess (?), but for a Nextcloud instance these are the only correct values I'd say, and for Google equivalent than before.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment