• Resolved streamworksaudio

    (@streamworksaudio)


    I am using WooCommerce and Rank Math, when opening a page or post to edit the on page seo analysis jumps into action right away. However with Products the analysis does not start unless I make a chance to the Key Word.

    Is this normal? Shouldn’t the on page analysis be working on products the same way it does as with pages or posts?

    Cheers

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Rank Math SEO

    (@rankmath)

    Hello @streamworksaudio

    Thank you for your message and sorry for the issue you are facing.

    The content analysis on the product pages should work just like it works with the normal posts.

    Can you please check if you are seeing any JS error in the browser’s console?

    Also, assuming you are using the latest version of all the plugins and the themes (please update if not yet), it would seem like a conflict with one of the plugins or the theme you are using.

    To determine that, please follow this troubleshooting guide:
    https://rankmath.com/kb/check-plugin-conflicts/

    Only the site admin would know and your users won’t be affected by this troubleshooting.

    Looking forward to helping you.

    Thread Starter streamworksaudio

    (@streamworksaudio)

    It appears to be a conflict with our own custom plugin. I will investigate and report my findings here.

    Cheers

    Thread Starter streamworksaudio

    (@streamworksaudio)

    The error in the console is…

    ‘Uncaught TypeError: Cannot read property ‘focusKeywords’ of undefined’

    The strange thing is that this error only happens if I make a change to the text editor and not the visual editor. When using the visual editor, nothing happens when making any change to the post.

    Thread Starter streamworksaudio

    (@streamworksaudio)

    OK – think I tracked it down.

    It appears to be a conflict between Rank Math and WP Media Categories plugin. When both are active I get an error in the console from the Media Categories…

    ‘Uncaught (in promise) TypeError: Cannot read property ‘split’ of undefined’

    Deactivating either one of the plugins get rids of the error and everything works per normal.

    On a side note, our plugin (which does not seem to be the issue) adds the WordPress CodeMirror to the editor textarea and when it is applied then Rank Math cannot do real time analysis of the content, only after saving/updating the post can I see an analysis. This would be cool for the future (the ability to analysis textreas with WordPress’s CodeMirror library.

    Cheers

    Plugin Author Rank Math SEO

    (@rankmath)

    Hello @streamworksaudio

    This issue is in the WP Media Categories plugin. Even with the other popular SEO plugin, it’s throwing the same split error.

    You would need to contact the plugin author and ask them to load the script only where it’s needed and to add the conditions to check for the undefined & null variables.

    Hope that helps. Thank you.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘On page analysis for products’ is closed to new replies.