排名数学 SEO 是 WordPress 中流行的 SEO 插件,可帮助优化您的网站搜索引擎,跟踪您网站的 SEO 性能。
Tuy nhiên, không phải lúc nào bạn cũng cần chấm điểm chuẩn xác. Đặc biệt là các mục “Content AI”, “Table of Contents”,…
Rank Math SEO 本身还可以帮助您关闭这些不必要的过滤器,以简化构建文章内容的过程。
下面是我经常使用的过滤器。你只需要将代码放入文件中即可 function.php 或使用表单插件 代码片段
/** Filter RANKMATH */
add_filter('rank_math/researches/tests', function ($tests, $type) {
/** Table of Contents */
unset($tests['contentHasTOC']);
/** Number in Title */
unset($tests['titleHasNumber']);
/** Internal Links */
unset($tests['linksHasInternal']);
/** Content AI */
unset($tests['hasContentAI']);
/** Length of the Content */
unset($tests['lengthContent']);
/** Title Sentiment test */
unset($tests['titleSentiment']);
return $tests;
}, 10, 2);
在 Rank Math Seo 中使用评分过滤器后。您的文章轻松获得 100/100 分。









评论