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

[Feature Suggestion] Add quick toggles for x_robots-tag ("NO INDEX and NO FOLLOW" etc) #2551

Open
yurividal opened this issue Jan 19, 2023 · 4 comments

Comments

@yurividal
Copy link

I know you can do it via the advanced tab, but it would be nice to have a quick toggle to make a page not indexable in search engines.

add_header X-Robots-Tag "noindex, nofollow, nosnippet, noarchive";

@brtwrst
Copy link

brtwrst commented Jan 21, 2023

a quick toggle for blocking Search engines would be really nice

This one could be used as well / in addition

  location = /robots.txt {
   add_header Content-Type text/plain;
   return 200 "User-agent: *\nDisallow: /\n";
  }

@LDprg
Copy link

LDprg commented Jun 27, 2023

a quick toggle for blocking Search engines would be really nice

This one could be used as well / in addition

  location = /robots.txt {
   add_header Content-Type text/plain;
   return 200 "User-agent: *\nDisallow: /\n";
  }

Just want to note this for the workaroud (because I was struggeling with it). The code should be added to the custom config in the server_proxy.conf (see the advanced chapter in the documentation).

Copy link

Issue is now considered stale. If you want to keep it open, please comment 👍

@github-actions github-actions bot added the stale label Jan 30, 2024
@yurividal
Copy link
Author

👍

@github-actions github-actions bot removed the stale label Apr 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants