[wp-trac] [WordPress Trac] #52536: Add "X-Robots-Tag: noindex" to feeds by default
WordPress Trac
noreply at wordpress.org
Wed Dec 27 10:39:11 UTC 2023
#52536: Add "X-Robots-Tag: noindex" to feeds by default
-------------------------+------------------------------
Reporter: pikamander2 | Owner: (none)
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Feeds | Version:
Severity: major | Resolution:
Keywords: | Focuses:
-------------------------+------------------------------
Comment (by jonoaldersonwp):
Replying to [comment:5 tteggel]:
> Just wanted to add that we're seeing Google indexing some pages like
this, and we're getting quite a bit of traffic too.
>
> For others that stumble on this before the fix is ready a workaround is
to add a redirect rule to your site (I used the WPEngine dashboard) to
redirect from these search feed pages to your home page. The regex below
might be useful.
>
>
> {{{
> ^/search/[^/]*/feed/[^/]*/?$
> }}}
Likely an instance of this: https://yoast.com/internal-site-search-spam/
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52536#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list