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 5 replies - 1 through 5 (of 5 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.

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

You must be logged in to reply to this ticket.