Focus Keyword not found in the URL with Farsi slug

#47404
  • Resolved pand caspian
    Rank Math free

    Hi!

    Going through previous tickets I understand that Arabic or Farsi words in slug cannot get analyzed by rank math and as a result we get the error “Focus Keyword not found in the URL”.
    I know this doesn’t affect the SEO of the site, but it is robbing me of the pleasure of getting 100 score. Is there a plan to fix this any time soon?
    I know it is possible because some other plugins such as yoast can detect Farsi words.

    Eagerly looking forward to 100 score,
    regards
    Ali

Viewing 1 replies (of 1 total)
  • ​​​​Hello,

    Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.

    I can suggest that you disable this test by adding the following code to your theme’s functions.php file:

    
    // Use this code if you are using the classic editor
    add_filter( 'rank_math/researches/tests', function( $tests, $type ) {
    	unset($tests['basic']['keywordInPermalink']);
    	$tests['basic']['keywordInMetaDescription']['score'] = 7;
        return $tests;
    }, 10, 2 );
    
    // Use this code instead if you are using the block editor
    add_filter( 'rank_math/researches/tests', function( $tests, $type ) {
    	unset($tests['keywordInPermalink']);
    	
        return $tests;
    }, 10, 2 );

    Looking forward to helping you. 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 1 replies (of 1 total)

The ticket ‘Focus Keyword not found in the URL with Farsi slug’ is closed to new replies.