From de33fd10e781b4b23bb7572955bacb36b855335f Mon Sep 17 00:00:00 2001 From: Nicolas Gommenginger Date: Mon, 26 Aug 2024 14:54:16 -0400 Subject: [PATCH] Update Hide from search engines for prod env with a custom domain (#4153) * Update Hide from search engines for prod env with a custom domain Hide from search engines is automatically disabled, and can't be changed, for prod environments with a custom domain. * Update search-engine-visibility.md Add to the Upsun side as well --------- Co-authored-by: Chad Carlson --- sites/platform/src/environments/search-engine-visibility.md | 3 +-- sites/upsun/src/environments/search-engine-visibility.md | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/sites/platform/src/environments/search-engine-visibility.md b/sites/platform/src/environments/search-engine-visibility.md index c6260f78fb..2d6ac7ed7b 100644 --- a/sites/platform/src/environments/search-engine-visibility.md +++ b/sites/platform/src/environments/search-engine-visibility.md @@ -52,8 +52,7 @@ X-Robots-Tag: noindex, nofollow That tells search engine indexers to not index these sites and not traverse links from these sites. This helps keep non-Production sites out of search engine indexes. -You can choose whether to keep it on for production sites with custom domains. -It's automatically on for all `{{% vendor/cli %}}.site` domains. +It's automatically on for all `{{% vendor/cli %}}.site` domains, and it's automatically off for production environments with a custom domain. ## Alternative method diff --git a/sites/upsun/src/environments/search-engine-visibility.md b/sites/upsun/src/environments/search-engine-visibility.md index c6260f78fb..2d6ac7ed7b 100644 --- a/sites/upsun/src/environments/search-engine-visibility.md +++ b/sites/upsun/src/environments/search-engine-visibility.md @@ -52,8 +52,7 @@ X-Robots-Tag: noindex, nofollow That tells search engine indexers to not index these sites and not traverse links from these sites. This helps keep non-Production sites out of search engine indexes. -You can choose whether to keep it on for production sites with custom domains. -It's automatically on for all `{{% vendor/cli %}}.site` domains. +It's automatically on for all `{{% vendor/cli %}}.site` domains, and it's automatically off for production environments with a custom domain. ## Alternative method