This is an automated email from the ASF dual-hosted git repository.

moonming pushed a commit to branch feat/seo-technical-fixes
in repository https://gitbox.apache.org/repos/asf/apisix-website.git

commit 5528ff16b0ee87b2a029282bf4f08a8e1fed2b77
Author: Ming Wen <[email protected]>
AuthorDate: Mon Jun 22 11:34:49 2026 +0800

    chore(seo): noindex the auxiliary Netlify deploy
    
    Production (apisix.apache.org) is served by Apache infra + Fastly and does 
not
    read netlify.toml. apache-apisix.netlify.app is a mirror that should not
    compete with production in search results; add X-Robots-Tag: noindex.
---
 netlify.toml | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/netlify.toml b/netlify.toml
new file mode 100644
index 00000000000..6ea98ed6b60
--- /dev/null
+++ b/netlify.toml
@@ -0,0 +1,13 @@
+# The production site (https://apisix.apache.org) is served by Apache
+# infrastructure (Apache httpd + Fastly) and does NOT read this file.
+#
+# This config exists only to keep the auxiliary Netlify deploy
+# (apache-apisix.netlify.app and PR deploy previews) OUT of search indexes, so
+# they don't compete with the canonical production site for rankings. Netlify
+# applies these headers to every deploy it builds from this repo; Apache infra
+# ignores the file entirely.
+[[headers]]
+  for = "/*"
+
+  [headers.values]
+    X-Robots-Tag = "noindex"

Reply via email to