diff --git a/src/content/partials/workers/custom_headers.mdx b/src/content/partials/workers/custom_headers.mdx
index 142bfe0f735b320..0debfc0c5cf882e 100644
--- a/src/content/partials/workers/custom_headers.mdx
+++ b/src/content/partials/workers/custom_headers.mdx
@@ -117,14 +117,14 @@ This applies the `Access-Control-Allow-Origin` header to any incoming URL. To be
[Google](https://developers.google.com/search/docs/advanced/robots/robots_meta_tag#directives) and other search engines often support the `X-Robots-Tag` header to instruct its crawlers how your website should be indexed.
-For example, to prevent your {props.product === 'workers' ? '\*.workers.dev' : '\*.pages.dev'} URLs from being indexed, add the following to your `_headers` file:
+For example, to prevent your {props.product === 'workers' ? \*.\*.workers.dev : <>\*.pages.dev and \*.\*.pages.dev>} URLs from being indexed, add the following to your `_headers` file: