RankMath converting (‘) to (“) manually added FAQ Schema HTML Code

#451694
  • Resolved Manan Doshi
    Rank Math free

    Hello,
    I am facing an issue with Rankmath Plugin. I have manually uploaded FAQ schema on some of my webpages (links given below). As I have enabled article schema through rankmath on this pages, I manually uploaded the FAQ schema through html input. But the rankmath plugin is automatically converting the single quotations marks (‘) in that manually added html code FAQ schema to double quotation marks(“). Due to this, the schema becomes invalid for Google. I checked the issue by temporarily deactivating rankmath plugin and I did not face the issue. But again on activation of rankmath plugin, the single quotation marks in the url in FAQ schema markup got converted into double quotation marks. Kindly suggest as to how to stop rankmath plugin from converting this manually added schema markup.

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

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

    We can’t seem to replicate this on our end.

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress login in the designated Sensitive Data section.

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

    It is completely secure and only our support staff has access to that section. If you want, you can use the below plugin to generate a temporary login URL to your website and share that with us instead:

    https://wordpress.org/plugins/temporary-login-without-password/

    You can use the above plugin in conjunction with the WP Security Audit Log to monitor what changes our staff might make on your website (if any):

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

    We really look forward to helping you.

    Hello,

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

    Thank you.

    Nigel
    Rank Math business

    Hello,

    I checked your posts and did not find any FAQ schema generated in Rank Math. The FAQ schema on those pages seems to be coming from your theme or another plugin. Please check your theme/other plugin FAQ schema settings.

    Hope that helps. Please let us know if you have questions.

    The schema is added manually and not through RankMath but the issue is caused through rank math plugin only. Because, on deactivating rankmath plugin, the issue gets solved but again on activating rankmath plugin, the single quotation marks are converted to double quotation marks. I also checked with theme developer and they answered the same that the RankMath plugin is causing the issue.

    Hello,

    Since this is the first time I use this page builder, I wasn’t able to locate that schema code on the page builder’s editor page. Can you please let us know where to access that in the editor?

    In this kind of situation, you would need to insert the FAQ schema inside our SEO settings, however, a custom schema is only available in our PRO version.

    This would require to re-locate the FAQ schema code somewhere outside the page builder.

    Looking forward to helping you.

    The HTML Code (Schema Markup) is added at the end of the page just below the FAQ section on the page. You can click the eye icon on the Tatsu Builder and locate the last item on the list, which is where you will find the html code for schema markup.
    It is with the (‘) single quotation but due to some unknown reason, rankmath is converting it into double quotation mark, even though I have added it manually and not with RankMath.

    RankMath might be uploading the Article Schema on this page but the FAQ schema where the problem persists is not added through RankMath. But on deactivation of RankMath plugin, the issue gets solved.

    I cannot relocate the FAQ schema outside the page builder. Please check the bug in Rankmath and fix the same. Thank You.

    Hello,

    I see the issue on your site but we couldn’t reproduce it on our setup. Can you please add your site’s FTP access details in the Sensitive Data Section so we can debug this issue by editing some plugin files?

    Looking forward to helping you.

    Hello,

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

    Thank you.

    Hello,

    Thank you for sharing the cPanel access. When Open External Links in New Tab/Window option is enabled, the code changes the links added in the FAQ schema as well which is breaking the schema. This is a bug in our plugin and I have logged it. Please give us some time to test and release a fix. For now, to fix the issue on your site I have disabled the Open External Links in the New tab option in Rank Math General settings and added the following code in the functions.php file:
    add_filter( 'rank_math/noopener', '__return_false' );

    The Rich Results testing tool is not showing any error now. Can you please confirm?

    I hope that helps.

    Hello,
    The Rich results tool is not showing the error now. So, whenever the bug is fixed, will I need to remove the filter:
    add_filter( ‘rank_math/noopener’, ‘__return_false’ );
    which is added and change the settings?

    Anas
    Rank Math business

    Hello,

    Yes, you can remove the filter once the fix is added to the plugin.

    Don’t hesitate to get in touch if you have any other questions.

    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 11 replies - 1 through 11 (of 11 total)

The ticket ‘RankMath converting (‘) to (“) manually added FAQ Schema HTML Code’ is closed to new replies.