Hello,
Thank you for contacting Rank Math support, and sorry for any inconvenience that might have been caused due to that.
We checked your WordPress Dashboard and it seems the score is no longer shown on the page or post list page. Please refer to the screenshot I added in the sensitive data section.
Can you please let us know if you are referring to a different score badge?
Looking forward to helping you on this one.
Hi there,
I was told by your colleague on another ticket a while back that this code snippet would remove the SEO score details here:
https://drive.google.com/file/d/1fqZspZ5KAuHlt6tSK4UM3NSrPAVt7Syc/view?usp=sharing
That’s what I’m trying to remove. It confuses clients and, just because we have our own internal processes to follow that we know are highly effective at ranking content in Google, we don’t use all of these recommendations.
Thanks for your help.
Hello,
If you wish to disable the content tests, you can do so by following this guide: https://rankmath.com/kb/disable-seo-content-tests/
To disable everything, you may need to unset everything by following this example: https://rankmath.com/kb/disable-seo-content-tests/#disable-multiple-tests
Hope that helps. Looking forward to helping you on this one.
Thank you
Hi thanks for that. I get this error message.
https://drive.google.com/file/d/1GsfzC85xfSxTeSHZd_PXA4Rc9G9Fd5jN/view?usp=sharing
Here’s the code snippet I used. Maybe I put it in the wrong place?
/**
* Filter to disable multiple SEO Contest tests
*/
add_filter(‘rank_math/researches/tests’, function ($tests, $type) {
unset(
$tests[‘titleHasNumber’],
$tests[‘contentHasTOC’],
$tests[‘titleSentiment’],
$tests[‘titleHasPowerWords’]
$tests[‘contentHasShortParagraphs’]
$tests[‘contentHasAssets’]
$tests[‘keywordInTitle’]
$tests[‘keywordInMetaDescription’]
$tests[‘keywordInPermalink’]
$tests[‘keywordIn10Percent’]
$tests[‘keywordInContent’]
$tests[‘keywordInSubheadings’]
$tests[‘keywordInImageAlt’]
$tests[‘keywordDensity’]
$tests[‘keywordNotUsed’]
$tests[‘lengthContent’]
$tests[‘lengthPermalink’]
$tests[‘linksHasInternal’]
$tests[‘linksHasExternals’]
$tests[‘linksNotAllExternals’]
$tests[‘titleStartWithKeyword’]
$tests[‘hasContentAI’]
);
return $tests;
}, 10, 2);
Hello,
It seems that you have missed adding commas for each test.
I’ve updated the filter and you can copy/ paste this one:
https://pastebin.com/iiWK4mKm
Hope that helps.
Thank you.
Yes, that worked. Thanks!
Will you be able to leave that Pastebin live so I can bookmark it and use it in the future?
Hello,
Unfortunately, I have created the pastebin link using a guest account, and I’m unable to modify it.
However, here’s the filter so you can bookmark this ticket instead for future reference:
/**
* Filter to disable multiple SEO Contest tests
*/
add_filter('rank_math/researches/tests', function ($tests, $type) {
unset(
$tests['titleHasNumber'],
$tests['contentHasTOC'],
$tests['titleSentiment'],
$tests['titleHasPowerWords'],
$tests['contentHasShortParagraphs'],
$tests['contentHasAssets'],
$tests['keywordInTitle'],
$tests['keywordInMetaDescription'],
$tests['keywordInPermalink'],
$tests['keywordIn10Percent'],
$tests['keywordInContent'],
$tests['keywordInSubheadings'],
$tests['keywordInImageAlt'],
$tests['keywordDensity'],
$tests['keywordNotUsed'],
$tests['lengthContent'],
$tests['lengthPermalink'],
$tests['linksHasInternal'],
$tests['linksHasExternals'],
$tests['linksNotAllExternals'],
$tests['titleStartWithKeyword'],
$tests['hasContentAI']
);
return $tests;
}, 10, 2);
Hope that helps.
Thank you.
Thanks again for all your help.
Hello,
We are super happy that this resolved your issue. If you have any other questions in the future, know that we are here to help you.
If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.
If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.
Thank you.