我正在努力让我的网站被搜索引擎编入索引。据此,来自 Wordpress 的东西正在注入(inject)一个元标记,阻止搜索引擎抓取我的网站:https://aw-snap.info/file-viewer/?protocol=secure&tgt=chrispokey.com
我开始认为这与 wp_head();
函数有关。我可以采取哪些后续步骤来删除以某种方式插入我网站 header 部分的 noindex 标记?
谢谢!
<?php
if ( is_singular() ) wp_enqueue_script( 'comment-reply' );
wp_head();
?>
最佳答案
请访问 Settings » Reading
并确保您没有选中“discourage robots”设置附近的复选框。
关于wordpress - 如何阻止 Wordpress 插入 noindex 元标记?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/51064267/