Wordpress SEO

WordPress 5.3将改变它如何阻止索引


WordPress 5.3将改变它如何阻止索引

WordPress宣布了一个重要的变化,它将阻止搜索引擎从索引网站。这种变化放弃了传统的Robots.txt解决方案,转而采用机器人元标记方法。此更改符合阻止Google的常见意图。这是为了防止被阻止的网页显示在Google的搜索结果中。

这是WordPress将使用的机器人元标记:

阻止Google从索引编制

长期以来,使用Robots.txt来阻止网站的“索引”是一种标准做法。

“索引”一词意味着GoogleBot会抓取该网站。通过使用Robots.txt阻止功能,您可以阻止Google下载指定的网页,并且假设Google无法在搜索结果中显示您的网页。

但robots.txt指令仅阻止Google抓取该网页。如果Google能够发现该网址,Google仍然可以将其添加到索引中。

因此,为了阻止网站出现在索引中,发布商会阻止Google对网页进行“索引”。这不是一贯有效的。

WordPress 5.3将真正防止索引

WordPress采用了Robots.txt方法。但是版本5.3中的情况正在发生变化。

当发布商目前选择“阻止搜索引擎索引此网站”时,它会向该网站的robots.txt添加一个禁止Google抓取网站的条目。

从WordPress 5.3开始,WordPress将采用更可靠的机器人元标记方法来阻止网站的索引。

此更改将影响“阻止搜索引擎索引此站点”设置。

这种变化是一种改进。 WordPress发布商可以更安全地知道被阻止的网页不会显示在Google的搜索结果中。

WordPress 5.3公告的屏幕截图,文本如下:“在WordPress 5.3中,用于阻止索引的方法将在允许选项”阻止搜索引擎索引此站点“的站点上更改WordPress仪表板中的这些更改。这些更改是作为票证的一部分进行的#43590。这些更改旨在更好地阻止搜索引擎列出网站,而不是仅阻止他们抓取网站。“'width =”600“height =”483“sizes =”(max-width:600px)100vw, 600px“data-srcset =”https://cdn.searchenginejournal.com/wp-content/uploads/2019/09/wordpress-5.3-announcement.png 600w,https://cdn.searchenginejournal.com/wp-content/ uploads / 2019/09 / wordpress-5.3-announcement-480x386.png 480w“data-src =”https://cdn.searchenginejournal.com/wp-content/uploads/2019/09/wordpress-5.3-announcement.png">WordPress 5.3变更公告的屏幕截图。为什么WordPress使用Robots.txt?</p><p>WordPress依靠Robots.txt来阻止网站的索引,因为每个人都不会在Google的搜索结果中显示网页。这是标准的做法。</p><p>然而,即使每个人都这样做,正如已经解释过的那样,这是一种不可靠的方法。</p><p>“索引”一词有两个含义:</p><ol><li>索引意味着抓取,就像Googlebot访问和下载网页时一样。</li><li>索引还可以意味着将网页添加到Google的网页数据库(称为索引)。</li></ol><p>阻止谷歌“索引”网页将使其无法看到网页,但谷歌仍然可以将网页编入索引并将其添加到谷歌的索引中。合理?</p><p> Robots.txt与机器人元标记</p><p>将网页保留在Google索引之外并不是Robots.txt解决方案的目的。这样做是机器人元标记的工作。</p><p>因此,很高兴看到WordPress将机器人元标记作为阻止网页在搜索引擎中显示的解决方案。</p><p>WordPress 5.3计划于2019年11月发布。</p><h3>阅读WordPress公告:</h3><p><a href="https://make.wordpress.org/core/2019/09/02/changes-to-prevent-search-engines-indexing-sites/" target="_blank" rel="noopener noreferrer nofollow external" data-wpel-link="external">防止搜索引擎索引站点的更改</a></p><h3>阅读Google的权威文档</h3><ol><li><a href="https://developers.google.com/search/reference/robots_meta_tag" target="_blank" rel="noopener noreferrer nofollow external" data-wpel-link="external">机器人元标记和X-Robots-Tag HTTP标头规范</a></li><li><a href="https://support.google.com/webmasters/answer/93710?hl=en" target="_blank" rel="noopener noreferrer nofollow external" data-wpel-link="external">使用'noindex'阻止搜索索引</a></li></ol></div><div class="the-post-foot cf"><div class="tag-share cf"><div class="post-share"></div></div></div><div class="post-nav"><div class="post previous cf">
<a href="https://wpjian.com/tips/201909037645.html" title="Prev Post" class="nav-icon" data-wpel-link="internal">
<i class="fa fa-angle-left"></i>
</a>
<span class="content">
<a href="https://wpjian.com/tips/201909037645.html" class="image-link" rel="previous" data-wpel-link="internal">
<img width="150" height="150" src="https://wpjian.com/wp-content/uploads/2019/09/best-web-design-software-150x150.png" class="attachment-thumbnail size-thumbnail lazyload wp-post-image" alt="" loading="lazy" />			</a><div class="post-meta">
<span class="label">Prev Post</span><div class="post-meta post-meta-b"><h2 class="post-title">
<a href="https://wpjian.com/tips/201909037645.html" data-wpel-link="internal">13个您不想错过的最佳网页设计软件</a></h2><div class="below">
<a href="https://wpjian.com/tips/201909037645.html" class="meta-item date-link" data-wpel-link="internal"><time class="post-date" datetime="2019-09-03T03:56:11+08:00">2019年9月3日</time></a><span class="meta-sep"></span>
<span class="meta-item read-time">1 分钟阅读</span></div></div></div>
</span></div><div class="post next cf">
<a href="https://wpjian.com/tips/201909037658.html" title="Next Post" class="nav-icon" data-wpel-link="internal">
<i class="fa fa-angle-right"></i>
</a>
<span class="content">
<a href="https://wpjian.com/tips/201909037658.html" class="image-link" rel="next" data-wpel-link="internal">
<img width="150" height="150" src="data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%20150%20150%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%3C%2Fsvg%3E" class="attachment-thumbnail size-thumbnail lazyload wp-post-image" alt="" loading="lazy" data-srcset="https://wpjian.com/wp-content/uploads/2019/09/1567507301_automattic-tumblr-trusted-authors-program-auto-updates-september-2019-wordpress-news-150x150.jpg 150w, https://wpjian.com/wp-content/uploads/2019/09/1567507301_automattic-tumblr-trusted-authors-program-auto-updates-september-2019-wordpress-news-370x370.jpg 370w" data-src="https://wpjian.com/wp-content/uploads/2019/09/1567507301_automattic-tumblr-trusted-authors-program-auto-updates-september-2019-wordpress-news-150x150.jpg" data-sizes="(max-width: 150px) 100vw, 150px" />			</a><div class="post-meta">
<span class="label">Next Post</span><div class="post-meta post-meta-b"><h2 class="post-title">
<a href="https://wpjian.com/tips/201909037658.html" data-wpel-link="internal">Automattic收购Tumblr,受信任的作者计划取消,自动更新辩论?️209年9月WordPress新闻w / CodeinWP</a></h2><div class="below">
<a href="https://wpjian.com/tips/201909037658.html" class="meta-item date-link" data-wpel-link="internal"><time class="post-date" datetime="2019-09-03T18:14:05+08:00">2019年9月3日</time></a><span class="meta-sep"></span>
<span class="meta-item read-time">1 分钟阅读</span></div></div></div>
</span></div></div><section class="related-posts grid-3"><h4 class="section-head"><span class="title">相关内容</span></h4><div class="ts-row posts cf"><article class="post col-4">
<a href="https://wpjian.com/wordpress-seo/2021012340551.html" title="2021年值得关注的数据和分析趋势" class="image-link" data-wpel-link="internal">
<img width="270" height="180" src="data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%20270%20180%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%3C%2Fsvg%3E" class="image lazyload wp-post-image" alt="" loading="lazy" title="2021年值得关注的数据和分析趋势" data-srcset="https://wpjian.com/wp-content/uploads/2021/01/Data-and-Analytics-270x180.jpg 270w, https://wpjian.com/wp-content/uploads/2021/01/Data-and-Analytics-300x200.jpg 300w, https://wpjian.com/wp-content/uploads/2021/01/Data-and-Analytics-370x245.jpg 370w, https://wpjian.com/wp-content/uploads/2021/01/Data-and-Analytics.jpg 525w" data-src="https://wpjian.com/wp-content/uploads/2021/01/Data-and-Analytics-270x180.jpg" data-sizes="(max-width: 270px) 100vw, 270px" />			</a><div class="content"><h3 class="post-title"><a href="https://wpjian.com/wordpress-seo/2021012340551.html" class="post-link" data-wpel-link="internal">2021年值得关注的数据和分析趋势</a></h3><div class="post-meta">
<time class="post-date" datetime="2021-01-23T01:46:02+08:00">2021年1月23日</time></div></div></article ><article class="post col-4">
<a href="https://wpjian.com/wordpress-seo/2021012240537.html" title="A2托管与SiteGround:2021年哪个更好?" class="image-link" data-wpel-link="internal">
<img width="270" height="180" src="data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%20270%20180%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%3C%2Fsvg%3E" class="image lazyload wp-post-image" alt="" loading="lazy" title="A2托管与SiteGround:2021年哪个更好?" data-srcset="https://wpjian.com/wp-content/uploads/2021/01/a2-hosting-vs-siteground-270x180.jpg 270w, https://wpjian.com/wp-content/uploads/2021/01/a2-hosting-vs-siteground-770x515.jpg 770w, https://wpjian.com/wp-content/uploads/2021/01/a2-hosting-vs-siteground-370x245.jpg 370w" data-src="https://wpjian.com/wp-content/uploads/2021/01/a2-hosting-vs-siteground-270x180.jpg" data-sizes="(max-width: 270px) 100vw, 270px" />			</a><div class="content"><h3 class="post-title"><a href="https://wpjian.com/wordpress-seo/2021012240537.html" class="post-link" data-wpel-link="internal">A2托管与SiteGround:2021年哪个更好?</a></h3><div class="post-meta">
<time class="post-date" datetime="2021-01-22T22:20:24+08:00">2021年1月22日</time></div></div></article ><article class="post col-4">
<a href="https://wpjian.com/wordpress-seo/2021012240535.html" title="访客发帖(重新)简介" class="image-link" data-wpel-link="internal">
<img width="270" height="180" src="data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%20270%20180%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%3C%2Fsvg%3E" class="image lazyload wp-post-image" alt="" loading="lazy" title="访客发帖(重新)简介" data-srcset="https://wpjian.com/wp-content/uploads/2021/01/6009db5f5e33a1.85214554-270x180.jpg 270w, https://wpjian.com/wp-content/uploads/2021/01/6009db5f5e33a1.85214554-770x515.jpg 770w, https://wpjian.com/wp-content/uploads/2021/01/6009db5f5e33a1.85214554-370x245.jpg 370w" data-src="https://wpjian.com/wp-content/uploads/2021/01/6009db5f5e33a1.85214554-270x180.jpg" data-sizes="(max-width: 270px) 100vw, 270px" />			</a><div class="content"><h3 class="post-title"><a href="https://wpjian.com/wordpress-seo/2021012240535.html" class="post-link" data-wpel-link="internal">访客发帖(重新)简介</a></h3><div class="post-meta">
<time class="post-date" datetime="2021-01-22T17:45:24+08:00">2021年1月22日</time></div></div></article ></div></section></article></div><aside class="col-4 sidebar" data-sticky="1"><div class="inner theiaStickySidebar"><ul><li id="search-2" class="widget widget_search"><form method="get" class="search-form" action="https://wpjian.com/">
<label>
<span class="screen-reader-text">Search for:</span>
<input type="search" class="search-field" placeholder="输入主题或插件名称进行搜索…" value="" name="s" title="Search for:" />
</label>
<button type="submit" class="search-submit"><i class="fa fa-search"></i></button></form></li><li id="wpp-2" class="widget popular-posts"><h5 class="widget-title"><span>热门文章</span></h5><ul class="wpp-list wpp-sunrise"><li style="--item-position: 1; --total-items: 10;"><div class="item-position"></div><div class="item-data"><a href="https://wpjian.com/tips/2019121828742.html" class="wpp-post-title" target="_self" data-wpel-link="internal">2020年金钱可以买到的6种最佳Mac键盘(经过手工比较和测试)</a></div></li><li style="--item-position: 2; --total-items: 10;"><div class="item-position"></div><div class="item-data"><a href="https://wpjian.com/translate/20190418396.html" class="wpp-post-title" target="_self" data-wpel-link="internal">WordPress的11款多语言网站翻译插件</a></div></li><li style="--item-position: 3; --total-items: 10;"><div class="item-position"></div><div class="item-data"><a href="https://wpjian.com/tips/201908156623.html" class="wpp-post-title" target="_self" data-wpel-link="internal">WordPress的10个最佳用户登录和注册插件(2019)</a></div></li><li style="--item-position: 4; --total-items: 10;"><div class="item-position"></div><div class="item-data"><a href="https://wpjian.com/tips/2020042732213.html" class="wpp-post-title" target="_self" data-wpel-link="internal">修复和解决最常见的WordPress错误的终极指南(65多个问题)</a></div></li><li style="--item-position: 5; --total-items: 10;"><div class="item-position"></div><div class="item-data"><a href="https://wpjian.com/tips/201907225294.html" class="wpp-post-title" target="_self" data-wpel-link="internal">Figma vs Sketch与Adobe XD:哪个是更好的设计工具?</a></div></li><li style="--item-position: 6; --total-items: 10;"><div class="item-position"></div><div class="item-data"><a href="https://wpjian.com/tips/2019103018375.html" class="wpp-post-title" target="_self" data-wpel-link="internal">如何在WordPress中更改字体(以及更改大小,颜色,优化)</a></div></li><li style="--item-position: 7; --total-items: 10;"><div class="item-position"></div><div class="item-data"><a href="https://wpjian.com/tips/2020021830497.html" class="wpp-post-title" target="_self" data-wpel-link="internal">如何设置和编辑WordPress主页</a></div></li><li style="--item-position: 8; --total-items: 10;"><div class="item-position"></div><div class="item-data"><a href="https://wpjian.com/tips/201908106338.html" class="wpp-post-title" target="_self" data-wpel-link="internal">63个最佳免费WordPress博客主题(2019)</a></div></li><li style="--item-position: 9; --total-items: 10;"><div class="item-position"></div><div class="item-data"><a href="https://wpjian.com/tips/201906203837.html" class="wpp-post-title" target="_self" data-wpel-link="internal">15个最佳HTML电子邮件模板,将在2019年引起人们的注意</a></div></li><li style="--item-position: 10; --total-items: 10;"><div class="item-position"></div><div class="item-data"><a href="https://wpjian.com/wordpress-seo/201905282095.html" class="wpp-post-title" target="_self" data-wpel-link="internal">如何使用Wix建立网站:您的循序渐进指南</a></div></li></ul></li><li id="custom_html-2" class="widget_text widget widget_custom_html"><div class="textwidget custom-html-widget"><a href="https://www.vultr.com/?ref=8402375-6G" data-wpel-link="external" target="_blank" rel="nofollow external noopener noreferrer"><img class=" lazyload" src="data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%20340%20343%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%3C%2Fsvg%3E" width="340" height="343" data-src="https://wpjian.com/wp-content/uploads/2020/09/VULTR.jpg" /></a></div></li><li id="widget_wpcc-2" class="widget widget_wpcc"><div id="wpcc_widget_inner">
<span id="wpcc_original_link" class="wpcc_current_lang" ><a class="wpcc_link" href="https://wpjian.com/wordpress-seo/201909037647.html" title="简体中文" data-wpel-link="internal">简体中文</a></span>
<span id="wpcc_zh-tw_link" class="wpcc_lang" ><a class="wpcc_link" href="https://wpjian.com/zh-tw/wordpress-seo/201909037647.html" title="繁体中文" data-wpel-link="internal">繁体中文</a></span></div></li></ul></div></aside></div></div></div><footer class="main-footer bold bold-light"><section class="lower-footer cf"><div class="wrap"><ul class="social-icons"></ul><p class="copyright">© 2019 WPJIAN.</p><div class="to-top">
<a href="#" class="back-to-top"><i class="fa fa-angle-up"></i> Top</a></div></div></section></footer></div><div class="mobile-menu-container off-canvas" id="mobile-menu"><a href="#" class="close"><i class="fa fa-times"></i></a><div class="logo">
<img class="mobile-logo lazyload" src="data:image/svg+xml,%3Csvg%20viewBox%3D%270%200%20222%2048%27%20xmlns%3D%27http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%27%3E%3C%2Fsvg%3E" width="222" height="48" alt="WP建站" data-src="https://wpjian.com/wp-content/uploads/2019/04/1555569925-LOGO.png" /></div><ul id="menu-%e4%b8%bb%e8%8f%9c%e5%8d%95-1" class="mobile-menu"><li class="menu-item menu-item-type-custom menu-item-object-custom menu-item-home menu-item-833"><a href="https://wpjian.com" data-wpel-link="internal">首页</a></li><li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-10"><a href="https://wpjian.com/category/themes" data-wpel-link="internal">外贸模版</a></li><li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-28"><a href="https://wpjian.com/category/plugins" data-wpel-link="internal">插件</a></li><li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-395"><a href="https://wpjian.com/category/translate" data-wpel-link="internal">汉化翻译多语言</a></li><li class="menu-item menu-item-type-taxonomy menu-item-object-category current-post-ancestor current-menu-parent current-post-parent menu-item-331"><a href="https://wpjian.com/category/wordpress-seo" data-wpel-link="internal">SEO优化</a></li><li class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-408"><a href="https://wpjian.com/category/tips" data-wpel-link="internal">使用技巧</a></li></ul></div> <script type=