Skip to content

Conversation

@sibi361
Copy link
Contributor

@sibi361 sibi361 commented Jul 9, 2025

Summary

The previous example for matching workers.dev URLs under "Prevent your workers.dev URLs showing in search results" incorrectly used two "splats", i.e. *, when only one splat can be used at maximum.

Addressing the above feedback raised in #23472, this PR updates the example to use a single splat wildcard with a placeholder pattern that correctly matches both workers.dev URLs and Preview URLs.

closes #23472

Documentation checklist

The previous example for matching `workers.dev`
URLs under "Prevent your workers.dev URLs showing
in search results" incorrectly used two
splats, i.e. `*`, when only one splat can be used
at maximum.

This commit updates the example to use a single
splat wildcard with a placeholder pattern that
correctly matches both `workers.dev` URLs and
Preview URLs.
@kodster28 kodster28 enabled auto-merge (squash) August 11, 2025 19:09
@kodster28 kodster28 merged commit 8b09e83 into cloudflare:production Aug 11, 2025
2 checks passed
@workers-devprod workers-devprod added the contribution [Holopin] Recognizes a docs contribution, big or small label Aug 11, 2025
@holopin-bot
Copy link

holopin-bot bot commented Aug 11, 2025

Congratulations @sibi361, the maintainer of this repository has issued you a holobyte! Here it is: https://holopin.io/holobyte/cme7i14t7117307l1d3zkoohz

This badge can only be claimed by you, so make sure that your GitHub account is linked to your Holopin account. You can manage those preferences here: https://holopin.io/account.
Or if you're new to Holopin, you can simply sign up with GitHub, which will do the trick!

thomasgauvin pushed a commit that referenced this pull request Aug 15, 2025
)

* fix: correct noindex example URL pattern typo

The previous example for matching `workers.dev`
URLs under "Prevent your workers.dev URLs showing
in search results" incorrectly used two
splats, i.e. `*`, when only one splat can be used
at maximum.

This commit updates the example to use a single
splat wildcard with a placeholder pattern that
correctly matches both `workers.dev` URLs and
Preview URLs.

* fix: update noindex example URL pattern for `pages.dev`

* Retrigger CI

* Retrigger CI

---------

Co-authored-by: Kody Jackson <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

contribution [Holopin] Recognizes a docs contribution, big or small size/xs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Static Assets _headers rules can only contain a single "splat" wildcard

8 participants