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

theme: add robots meta tag to /signup and /login to prevent indexing #532

Open
GraemeWatt opened this issue Sep 5, 2022 · 1 comment
Open
Labels
complexity: low priority: medium type: bug Indicates an unexpected problem or unintended behaviour

Comments

@GraemeWatt
Copy link
Member

A meta tag should be added to the header of the /signup (register_user.html) and /login (login_user.html) pages like:

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

This will instruct web crawlers to not index the page and to not crawl any of the links on the page. I received a new notification today from Google Search Console that https://www.hepdata.net/oauth/login/cern_openid/ is indexed though blocked by robots.txt.

@GraemeWatt GraemeWatt added type: bug Indicates an unexpected problem or unintended behaviour priority: medium complexity: low labels Sep 5, 2022
@GraemeWatt
Copy link
Member Author

Also Sandbox records should not be indexed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
complexity: low priority: medium type: bug Indicates an unexpected problem or unintended behaviour
Projects
Status: To do
Development

No branches or pull requests

1 participant