Focus Keyword not found in the URL. Error

#27812
  • Resolved Toygar Niron
    Rank Math pro

    Hello,

    When optimizing articles, the plugin gives “focus keyword url not found” warning. This error message disappears when I translate the characters I use into English. This problem did not occur in articles I imported from YOAST plugin. How can I solve this? And not published yet.

    Thank you.

    URL:N Aquarium • Evde Köpek Balığı Beslenir Mi?
    Focus Keywords: Evde Köpek Balığı

Viewing 10 replies - 1 through 10 (of 10 total)
  • New development: If I update the same issue, I get it in other articles as well.

    For example: N Aquarium • Endonezya Mercan İthalatı Yeniden Mi Açılıyor?

    null

    Hello,

    Thank you for contacting Rank Math today.

    I accessed your post[N Aquarium • Evde Köpek Balığı Beslenir Mi?] and made some changes on your keywords to have a focus keyword on the URL. You can check the changes and let me know if the issue has been resolved on your end now.

    Looking forward to helping you. Thank you.

    ​​​​​​

    Hello Michael,

    No changes are visible. I published the article before seeing the answer, but I did not change the title or SEO settings. I would be very happy if you check again. I also get a ”table of contents” error in the same header. However, there is a ”table of contents” in the article.

    Thanks Michael,

    Hello,

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

    We have fixed the focus keyword error on the latest update v1.0.37.2. Please update and let us know how this goes.

    For the second problem, your will need to register your ToC plugin on your theme so that Rank Math can be able to detect it using the following code:

    /**
     * Filter to add plugins to the TOC list.
     *
     * @param array TOC plugins.
     */
    add_filter( 'rank_math/researches/toc_plugins', function( $toc_plugins ) {
           $toc_plugins['plugin-directory/plugin-filename.php'] = 'Plugin Name';
        return $toc_plugins;
    });

    Looking forward to helping you. Thank you.

    ​​​​​​​

    Hello Michael,

    I’m updated the plugin but still getting the same error. And i figured out where and how to add the code.Sorry:(

    Todd
    Rank Math free

    Hi Toygar,

    The keyword cannot be found in the URL because your keyword has diacritic characters but your URL doesn’t have them.

    We are working on improving this and we will have an update for you.

    In the meantime, feel free to ignore that particular test.

    The score is there only for your reference anyway and doesn’t affect your actual rankings. Treat it only as a to-do list, nothing more. Don’t try to live by it and don’t follow the tests religiously.

    Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.

    Hello Todd,

    I think there is a similar error in SEO analysis.

    null

    Should I ignore the table of contents? Or can you help me with the code?

    Thank you,

    Todd
    Rank Math free

    Hi,

    Yes, it would be about the same thing in SEO Analysis too.

    We only detect Table of Contents if you are using one of these plugins to add a table of contents section.
    ​https://rankmath.com/kb/score-100-in-tests/#table-of-contents
    ​
    ​Unfortunately, there is no other way to look for a Table of Contents section other than to look for pre-installed ToC plugins like the ones listed above. You also use the filter provided in the above link to manually add your plugin to the compatibility list (or ask your ToC plugin provided to add it to their plugin)
    ​
    You can also use this code in your theme’s functions.php file to manually tell Rank Math that you are already using a Table of Contents and to pass that test.
    ​https://pastebin.com/HWg6na7c
    ​

    Hi Todd,

    Thank you for the information you provided. I think you have made an update for the available TOCs. I removed the current one and chose one of the supported versions. Now everything is fine. Thank you for your interest.

    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/?rate=5#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.

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

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