Autogenerated excerpt in RankMath post panel is incorrect

#104951
  • Resolved Ahmad Hamid
    Rank Math free

    I’m using the Classic Editor plugin and without having the paragraph tag in the editor the paragraph word count didn’t work! I ended up installing another plugin for the Classic Editor called “Advanced Editor Tools (previously TinyMCE Advanced)” and enabled the option “Keep paragraph tags in the Classic block and the Classic Editor”

    But now I ran into another problem. The meta description generated in RankMath panel on the post editing page is not correct.
    It also shows the focus keyword not found in the description.
    I found this only occurs when the plugin mentioned above is enabled. Furthermore I did some tests and found that it only occurs if my post is written in Arabic (RTL) and if there is a List in the post content (

      ).

      I left the site login in sensitive data and added a test post for that user showing the problem.

    • This topic was modified 3 years, 5 months ago by Ahmad Hamid.
Viewing 12 replies - 1 through 12 (of 12 total)
  • Hello,

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

    The access you shared is limited and we can’t access the plugins page. 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.

    If the issue persists, please record a video screencast using a tool like Loom showing the troubleshooting and include this in the sensitive section

    We really look forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Hello,

    Thanks for the reply ~ I added a recording of the problem using Loom in sensitive data section. The problem appears more like random I still could not figure what is causing the generation of the excerpt to pick from the ending of the article instead of the beginning. Yet it only occurs in arabic (RTL ) articles.

    Hello,

    The access is currently not working. Please update the access details in the sensitive section and ensure it has admin privileges so we can troubleshoot this issue seamlessly.

    You can use WP Security Audit Log or similar plugin to monitor what changes our staff might make on your website (if any):

    https://wordpress.org/plugins/wp-security-audit-log/

    Please do take a complete backup of your website before sharing the information with us.

    We really look forward to helping you.

    Hello,

    I have updated the sensitive data as requested. Can you please check further?

    Thank you.

    Updated as per request.

    Hello,

    It seems like the TinyMCE is causing some issues making the text available for Rank Math to read.

    For now, you disable that plugin and add a line break manually because it seems all your text is jumbled together in the text tab:
    \

    You are using Arabic and although your editor is RTL, the rest of the website isn’t which might also be causing this problem.

    Hope that helps.

    Hi Uzair,
    No that did not help at all! I disabled the plugin and even switched the editor but I still had the same problem. I also went through most of the support tickets about the excerpt that is generated at the client side and seems many had the same issue but they managed to workaround it or ignore it since it doesn’t affect the SEO description on the page.

    So I started some debugging and found the problem. Here are the details:
    In assets/admin/js/analyzer.js
    The regex used to identify paragraphs is
    /<p(?:[^>]+)?>(.*?)<\/p>/gi
    but the . does not match blank empty lines “\n” !
    So I replaced it with
    /<p(?:[^>]+)?>((?:.|[\r\n])*?)<\/p>/gi

    It worked but is this a bug and would be fixed in future updates ?

    Hello,

    I am getting an Unknown username error when I try to login using the username/password you added in the Sensitive Data Section. Can you please check and add the correct username.

    Looking forward to helping you.

    I added the user mentioned in the sensitive data again.
    Although my last reply should have enough info to reproduce the issue. I remain available if you like to troubleshoot together.

    Hello,

    Sorry for the delay and for any inconvenience this issue may have caused you.

    It seems that the TinyMCE is causing this issue due to conflict. We have alerted our dev team about this issue and will notify you once it’s already fixed.

    Thank you, and please don’t hesitate to contact us if you need further assistance.

    Hello,

    We were able to reproduce the error and have logged it. Please allow us some time to test and release a fix. It should be added to the plugin in the upcoming update.

    We seek your patience and understanding in this matter. In the meantime, if you need any other assistance, please feel free to let us know. We are here to help.

    Thank you.

    Hello,

    Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.

    If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.

    Thank you.

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

The ticket ‘Autogenerated excerpt in RankMath post panel is incorrect’ is closed to new replies.