admin管理员组文章数量:1134241
Google Search Console has just reported me that my page is not being indexed, because noindex
tag has been found. Upon closer investigation I found it in the search results page:
<title>Search Results for “phonegap” – onezeronull</title>
<meta name='robots' content='noindex, follow, max-image-preview:large' />
I have both corresponding configuration setting unchecked in Settings → Reading:
And none of my themes contains anything related to noindex
:
And among my plugins the noindex
tag is added only by Jetpack and only for "Share this" screen or for iframe-embed pages. So nothing around search results. It seems that this must be added by Wordpress itself.
My question is, if I can do something with it (i.e. turn adding this tag off) or should I rather learn to live with the fact that search results pages are not indexed by Google (or other crawlers) due to this tag.
Google Search Console has just reported me that my page is not being indexed, because noindex
tag has been found. Upon closer investigation I found it in the search results page:
<title>Search Results for “phonegap” – onezeronull.com</title>
<meta name='robots' content='noindex, follow, max-image-preview:large' />
I have both corresponding configuration setting unchecked in Settings → Reading:
And none of my themes contains anything related to noindex
:
And among my plugins the noindex
tag is added only by Jetpack and only for "Share this" screen or for iframe-embed pages. So nothing around search results. It seems that this must be added by Wordpress itself.
My question is, if I can do something with it (i.e. turn adding this tag off) or should I rather learn to live with the fact that search results pages are not indexed by Google (or other crawlers) due to this tag.
Share Improve this question asked Oct 25, 2022 at 10:07 trejdertrejder 3325 silver badges22 bronze badges1 Answer
Reset to default 1For technical SEO reasons, it's best to noindex
internal search results generated by WordPress. This is because it's almost always considered detrimental to the search engine experience... having "search results" appear in Google search results is something they have discouraged.
By default, WordPress Core follows this best practice:
https://wordpress.org/support/topic/how-do-i-add-noindex-nofollow-to-all-search-results-pages/
So, best practice is to ignore that warning in GSC, but you might review your sitemaps and internal linking (etc) to ensure you're not overly encouraging crawling of those search pages.
To make matters more confusing, I have seen WooCommerce sites that only partially noindex
search results in the case of complex search parameters, e.g.:
## noindex meta tag exists ##
https://example.com/?s=flowers
## noindex meta tag missing ##
https://example.com/?s=flowers&post_type=product
This is why in SlickStack we now force-noindex any URLs that begin with /?s=
using Nginx rules, because it's a bit unpredictable trying to manage these inconsistencies using PHP-level solutions. Plus, sometimes WordPress plugins can inadvertently conflict with the meta tags.
Ref: https://slickstack.io/forum/topic/woocommerce-not-noindexing-some-search-results
本文标签: htmlWordpress adds 39noindex39 tag to search results Anything I can do about it
版权声明:本文标题:html - Wordpress adds 'noindex' tag to search results. Anything I can do about it? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1736838083a1954978.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论