4

Ability to prevent sites from being indexed in Google

  • Live

Avatar
Glenn Jacobs

For testing sites etc it would be good to have a checkbox which would prevent a site from being indexed in Google.

It would be as simple as adding this to the Nginx config.

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

A

Activity Newest / Oldest

Avatar

Glenn Jacobs

Doesn't appear to work for me? Looking at the response headers from an existing site I turned it on for, I don't seen them.


Avatar

Glenn Jacobs

Ignore me, it DOES work ;-)


Avatar

Dennis

There could be a small delay as ploi adds the header file, and then reloads NGINX wich make give a small delay.


Avatar

Glenn Jacobs

Dennis, you don't muck about! ;-) Great little feature, thank you.


Avatar

Dennis

Status changed to: Live

Avatar

Dennis


  • Avatar
Avatar

Dennis

Status changed to: In progress

Avatar

Dennis

Post moved to this board

Avatar

Dennis

Status changed to: Planned