Rank Math is a revolutionary WordPress SEO Plugin that combines the features of many SEO tools and lets you multiply your traffic in the easiest way possible :bulb: :chart_with_upwards_trend: →
Describe the bug
The Rank Math Power Keyword function helps to calculate the score its also possible to add custom power keywords.
But Rank Math doesnt support special character like ö ü ä . Some German Power Keywords also wrong in the default setup they miss this kind of special character.
To Reproduce
Steps to reproduce the behavior:
Open the function.php add a own filter and define a additional special power keyword like kündigen , Kündigung or Müllhalde.
Save the new filter rule.
/**
Filter to add custom Power Words
*/
add_filter( 'rank_math/metabox/power_words', function( $words ){
$new_words = [
'kündigung',
'kündigen',
'müllhalde',
'kundigen',
];
return array_merge( $words, $new_words );
});
Safe it, open now a Editor and add this Power keyword to the Title. And you will see nothing happened.
Change the ü to ue or ä to oe you will see that it instant works.
Expected behavior
The Expected bahavior is that he include also words with special german characters like ü ö ä or ß
Describe the bug The Rank Math Power Keyword function helps to calculate the score its also possible to add custom power keywords. But Rank Math doesnt support special character like ö ü ä . Some German Power Keywords also wrong in the default setup they miss this kind of special character.
To Reproduce Steps to reproduce the behavior:
/**
Expected behavior The Expected bahavior is that he include also words with special german characters like ü ö ä or ß
Screenshots Screenshot with my code snipped as sample: https://snipboard.io/MengYD.jpg
Screenshot with special character https://snipboard.io/Jil5bH.jpg
Screenshot without special character https://snipboard.io/Jil5bH.jpg