Skip to content

Commit

Permalink
Update Hide from search engines for prod env with a custom domain (#4153
Browse files Browse the repository at this point in the history
)

* 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 <[email protected]>
  • Loading branch information
nicogommen and chadwcarlson committed Aug 26, 2024
1 parent 538d9e0 commit de33fd1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
3 changes: 1 addition & 2 deletions sites/platform/src/environments/search-engine-visibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
3 changes: 1 addition & 2 deletions sites/upsun/src/environments/search-engine-visibility.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit de33fd1

Please sign in to comment.