Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
If you want you can automate the insertion of focus keyword on your post. Please refer to this URL to learn how to do it:
https://rankmath.com/kb/how-to-automate-the-insertion-of-focus-keyword/
However, please note that these tests are only there for your reference to help you in optimizing your pages/post content. So, if you feel these tests doesn’t apply to your page, please feel free to ignore them by following the piece of code to your theme’s functions.php file to disable these keyword test from Rank Math:
/**
* Filter to disable Keyword in First ten percent of Content test
*/
add_filter('rank_math/researches/tests', function ($tests, $type) {
unset($tests['keywordIn10Percent']);
return $tests;
}, 10, 2 );
/**
* Filter to disable Keyword in Content test
*/
add_filter('rank_math/researches/tests', function ($tests, $type) {
unset($tests['keywordInContent']);
return $tests;
}, 10, 2 );
The filter should be added to your active theme’s functions.php file. Here’s another way to apply the filter using the rankmath.php file:
https://rankmath.com/kb/filters-hooks-api-developer/#adding-filters-and-hooks-in-rank-math-php
You can find more similar functions in our knowledge base article on how to disable content tests.
Hope that helps. Please don’t hesitate to let us know if you have any other questions.
Thank you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.