What is the Key to remove NoFollow link warning

#659735
  • Resolved Anonymous
    Rank Math free

    i’m adding code snippet to my website to remove the requirements that i don’t use,..

    this is supposes code..


    /**
    * Filter to disable Outbound Links NoFollow test.
    */
    add_filter('rank_math/researches/tests', function ($tests, $type) {
    unset($tests['outboundLinksNoFollow']); // i need the correct the for outbound link no follow warning
    return $tests;
    }, 10, 2);

Viewing 2 replies - 1 through 2 (of 2 total)
  • Anonymous
    Rank Math free

    i also want to know about keys for other requirements ” like
    Your title doesn’t contain a positive or a negative sentiment word.
    Your title doesn’t contain a power word. Add at least one.
    At least one paragraph is long. Consider using short paragraphs.

    Hello,

    Thank you for contacting Rank Math and bringing your concern to our attention.

    Apologies for the delay as we currently have a high volume of tickets here in our support forums.

    You can use this filter to disable those tests you have mentioned above:

    add_filter('rank_math/researches/tests', function ($tests, $type) {
    unset(
    		$tests['linksNotAllExternals'],
                    $tests['titleSentiment'],
    		$tests['titleHasPowerWords'],
    		$tests['contentHasShortParagraphs'],
    	);
    	return $tests;
    }, 10, 2);

    If you’re not sure how to add this code, you can follow this guide:
    https://rankmath.com/kb/wordpress-hooks-actions-filters/

    Hope that helps.

    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.

Viewing 2 replies - 1 through 2 (of 2 total)

The ticket ‘What is the Key to remove NoFollow link warning’ is closed to new replies.