[wp-trac] [WordPress Trac] #52536: Add "X-Robots-Tag: noindex" to feeds by default
WordPress Trac
noreply at wordpress.org
Mon Jul 5 10:57:43 UTC 2021
#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 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/[^/]*/?$
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/52536#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list