rankmath / seo-by-rank-math

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: →
https://rankmath.com
107 stars 52 forks source link

Power Keyword dont Support Special Character like ü ä ö #129

Open wingdu opened 1 year ago

wingdu commented 1 year ago

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:

  1. Open the function.php add a own filter and define a additional special power keyword like kündigen , Kündigung or Müllhalde.
  2. Save the new filter rule.

/**

  1. Safe it, open now a Editor and add this Power keyword to the Title. And you will see nothing happened.
  2. 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 ß

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