Revert "A development host is kept out of search engines without IAPL_NOINDEX (developmentNoindex, default on)"
This reverts commit bc3aac249f.
This commit is contained in:
+1
-1
@@ -333,7 +333,7 @@ one is better. Google ignores the same description on many pages.
|
||||
| "Thank you" after a form, a confirmation page | **yes** |
|
||||
| internal search results, filter/parameter pages | **yes** (+ `disallowParams` in robots) |
|
||||
| a test page, a draft page, a landing page only for a paid campaign | **yes** |
|
||||
| staging, preview, a test copy of the whole site | **`IAPL_NOINDEX=1` in that environment's env** — not the checkbox. A **development host** needs nothing: an address that matches `iapl({ developmentHosts })` (default `['*.dev.netscale.pl']`) is noindex by itself — robots.txt, page meta, IndexNow, and `X-Robots-Tag` from `buildSecurityHeaders()` (pass it `developmentHosts` too if the project changed the list; `next.config` runs before the plugin). Off: `iapl({ developmentNoindex: false })`, or `IAPL_NOINDEX=0` in one environment. Verify: `curl -sI https://<dev host>/ \| grep -i x-robots-tag` and `/robots.txt` says `Disallow: /`; on the real domain neither |
|
||||
| staging, preview, a test copy of the whole site | **`IAPL_NOINDEX=1` in that environment's env** — not the checkbox |
|
||||
| homepage, archives (blog, projects) | **never** — the panel blocks saving |
|
||||
| services, offer, contact, about us, posts | **never** |
|
||||
| privacy policy, cookies, terms | **no** by default (they are a credibility signal, they do no harm); `noindex` only at the client's request |
|
||||
|
||||
Reference in New Issue
Block a user