Keyword Density and Content Analysis Not Working in Classic Editor

#1127083
  • YU JIN
    Rank Math free

    Hello Rank Math Support Team,

    I am experiencing a consistent issue where Keyword Density, Content Analysis, and Focus Keyword checks do not work at all in my WordPress site, regardless of the post or configuration.

    Below is a full summary of the issue and all troubleshooting steps I have already performed.
    🔶 Issue Description

    Keyword Density always shows 0.00% even when the exact keyword is included multiple times in the post.

    Rank Math does not detect the keyword occurrences inside the post content.

    The “Content Analysis” engine seems to not load at all.

    The JS files responsible for analysis
    (rank-math-editor.js, rank-math-content-analysis.js)
    do not appear in the browser inspector → Network/Console.

    No analysis happens even in a brand-new test post with simple text.

    The issue occurs in the Classic Editor, not Gutenberg.

    🔶 What I Have Already Tried (All Failed)

    I have done extensive troubleshooting:

    ✓ Plugin & Theme Checks

    Deactivated all plugins except Rank Math

    Switched to default theme (Twenty Twenty-Four & Twenty Twenty-Five)
    → Issue still persists.

    ✓ Cache & Optimization

    Disabled all caching/minification plugins

    Cleared all caches (server + plugin)

    ✓ Rank Math Settings

    Fully reset Rank Math settings via Status & Tools

    Re-ran Setup Wizard (Advanced Mode)

    Verified the correct site URL (HTTPS)

    Reconnected Rank Math account successfully

    Verified Post Type settings (“Post” is enabled)

    ✓ Editor Test

    Created a brand-new post with the exact keyword repeated 3 times

    Added a single focus keyword

    Saved the post and forced a re-analysis
    → Keyword density still shows 0.00

    ✓ Browser Console / Network

    No Rank Math analysis scripts are loaded

    No related JS errors appear, because the scripts never load in the first place

    🔶 Conclusion

    It seems the Rank Math Content Analysis scripts are not loading at all inside the Classic Editor on my installation, even though:

    The post type is supported

    The editor is supported

    There are no plugin conflicts

    There are no JavaScript errors

    The issue persists even in a completely clean environment

    This appears to be a Rank Math bug specific to my installation/environment, not a configuration issue.

    🔶 Request

    Could you please investigate why:

    The Rank Math analysis scripts are not loading in Classic Editor, and

    Keyword Density & Content Analysis remain completely inactive?

    I can provide admin access, screenshots, console logs, or anything else needed for debugging.

    Thank you in advance for your help!

Viewing 10 replies - 1 through 10 (of 10 total)
  • Hello,

    We apologize for the issue you are facing with the Keyword Density and Content Analysis features in the Classic Editor. Thank you for providing such a detailed summary of your troubleshooting steps; it helps us understand the situation better.

    Based on your description, it seems that the Rank Math analysis scripts are not loading properly in the Classic Editor. Here are a few additional steps you can try:

    1. Check for JavaScript Errors: Even though you mentioned there are no errors, please double-check the browser console for any JavaScript errors that might prevent the scripts from loading.

    2. Browser Compatibility: Ensure that you are using a compatible browser and that it is updated to the latest version. Sometimes, browser extensions can interfere with script loading, so try disabling them temporarily.

    3. Server Configuration: Check if there are any server-side configurations or security settings (like ModSecurity) that might be blocking the loading of JavaScript files.

    4. Debugging Mode: Enable WordPress debugging mode by adding define('WP_DEBUG', true); to your wp-config.php file. This might reveal additional errors or warnings that could help diagnose the issue.

    5. Reinstall Rank Math: As a last resort, consider completely uninstalling and then reinstalling the Rank Math plugin to ensure all files are correctly placed and up to date.

    If these steps do not resolve the issue, please reply to this ticket with your site URL so that we can investigate further. A human agent from our support team will take over and assist you more comprehensively.

    Thank you for your patience, and we look forward to resolving this issue for you!

    Sources:
    Score 100/100 With Rank Math Post Tests » Rank Math

    This is an automated reply from Rank Math Support Bot. Your ticket has been assigned to a human agent and we will get back to you shortly.

    YU JIN
    Rank Math free

    Thank you for your response.
    I have already tested everything listed above, including:

    Checking Console for JS errors

    Disabling all browser extensions

    Trying multiple browsers

    Checking server firewall/mod_security

    Reinstalling Rank Math

    Resetting Rank Math settings

    Using default WordPress theme

    Disabling all plugins except Rank Math

    Creating a brand-new test post in Classic Editor

    The issue still persists.

    ❗ Important Technical Finding:

    The following Rank Math analysis scripts never load at all in the Classic Editor:

    rank-math-editor.js

    rank-math-content-analysis.js

    Because of this, Rank Math cannot read the post content,
    and Keyword Density always stays 0.00%, even on a test post.

    There are also no JavaScript errors, because the scripts themselves are not loaded.

    📌 This confirms that the issue is not caused by other plugins or theme conflicts,

    but rather a Rank Math script loading issue specific to Classic Editor.

    🔧 Next Step Request

    Please escalate this ticket to a human support agent so that someone can:

    Inspect why the Rank Math analysis scripts are not being enqueued.

    Confirm whether this is a bug affecting Classic Editor.

    Provide a fix or patch.

    I can provide temporary admin access privately if needed.

    Thank you!

    Hello,

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

    We are aware of the Keyword Density test issue that occurs when a dash (-) is used in the focus keyword. Our developers are working on a fix, and it will be included in an upcoming update.

    We truly appreciate your patience and understanding.

    Please don’t hesitate to let us know if you have any other questions.

    Hello
    I am afraid that the dash is not the problem, because i tries all kinds of focus keywords, i still can’t get the density counted.
    My subscription has finished today, can’t renew it until i see this thing fixed.
    Thank you for your support.

    Hello,

    We released a quick Beta update you can try to see if that helps.

    Please enable the Beta update by following this:
    https://rankmath.com/kb/version-control/#beta-updates

    beta update

    If you are unable to see an update, please clear Rank Math’s transients from:
    WP Dashboard > Rank Math > Status & Tools > Database Tools > Remove Rank Math Transients > Remove transients
    remove transients rank math

    Please clear the caches, server, and WordPress after updating.

    You can disable the Beta updates once you update to the latest version and if the issue is fixed.

    We are here to assist. Thank you.

    I am also having the same issue, and it is affecting both published blog posts that previously had an SEO score of 90/100, as well as unpublished drafts. I’ve also done everything listed in the thread above, without a positive result. At this point I’ve had to take a break from publishing new content, because it is pointless if it isn’t going to rank in search engines.

    Hello,

    We fixed the Keyword density issue in the latest version of the Rank Math plugin: https://rankmath.com/changelog/free/

    If you are unable to see an update, please clear Rank Math’s transients from WP Dashboard > Rank Math > Status & Tools > Database Tools > Remove Rank Math Transients: https://rankmath.com/kb/rank-math-status-and-tools/#rank-math-transients

    Please clear the caches, server, and WordPress after updating.

    Let us know how it goes. Looking forward to helping you.

    I am am having the same trouble. I wrote an email to Rank Math Support but haven’t heard back. I am using latest version of Rank Math and I use the classic editor to add/edit products. For several of the products I updated yesterday and today, Rank Math says “Keyword Density is 0.00 which is low, the Focus Keyword and combination appears 0 time” which is not true. As an example, I used the EXACT keyword three times on the following product: https://collectiblesandmoreinstore.com/shop/coca-cola-red-disc-ad-sign/

    For me, the issue might be related to the use of the hyphen but like I said, I’m using latest version of Rank Math so it didn’t get fixed.

    Hello @collectiblesandmoreinstore,
     
    Thank you for contacting us, and sorry for any inconvenience that might have been caused due to that.
     
    We were to replicate the issue with the keyword density test, where it does not work properly when any symbol is used in the focus keyword, such as -, ‘, *, or #.
     
    We have already shared this issue with our developers, and they are currently investigating it. As soon as we receive any updates, we will be sure to inform you here.
     
    We truly appreciate your kind patience and understanding regarding this issue.

    Hello,
     
    As a follow-up, we’ve released beta versions where this issue has been fixed: 
    https://rankmath.com/changelog/beta/ 
     
    If you want, you can enable the Beta update by following this guide:
    https://rankmath.com/kb/version-control/#beta-updates
     
    If you are unable to see an update, please clear Rank Math’s transients from WP Dashboard > Rank Math > Status & Tools > Database Tools > Remove Rank Math Transients: https://rankmath.com/kb/rank-math-status-and-tools/#rank-math-transients 
     
    Please clear the caches, server, and WordPress after updating.
     
    Let us know how it goes. Looking forward to helping you.

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

You must be logged in to reply to this ticket.