Product page content duplicates with Rank Math and code Integration

#1039395
  • Resolved Marta Akimova
    Rank Math free

    Hey,
    I’m experiencing an issue on single product pages where the content is duplicated, and at the end of the page, the following unexpected output appears:

    cd690aa97c “,”modules”:{“0″:”link-counter”,”1″:”analytics”,”2″:”seo-analysis”,”3″:”sitemap”,”4″:”rich-snippet”,”5″:”woocommerce”,”10″:”content-ai”,”11″:”instant-indexing”,”12″:”local-seo”,”13″:”role-manager”},”objectID”:35888,”objectType”:”post”}; /* ]]> */

    I am using Rank Math SEO plugin and few code integration. One code is taken from your documentation on :https://rankmath.com/kb/polylang-compatibility/ and second was previously received from your support. Both are added in rank-math.php and rank-math-ppl.php files respectively (I also added how both files look)

    Both snippets are added to custom files (rank-math.php and rank-math-ppl.php). These integrations previously worked fine on their own and together. However, now, when either or both are active, the issue described above occurs. When I remove these integrations, the issue disappears but in our case we need those integrations for sitemap to appear correctly.

    As a temporary workaround, I have resolved issue by disabling the plugin for product pages using the “Freesoul Deactivate Plugins” plugin and for now I haven’t noticed any other side effects yet. But I am not sure if this is an optional solution

    Is there any recommendation for alternative ways on how to resolves this issue?

    Thanks in advance!

Viewing 1 replies (of 1 total)
  • Hello,

    We apologize for the issue you are facing with the duplicated content on your single product pages. It seems that the code integrations you have implemented may be conflicting with the Rank Math plugin, leading to the unexpected output you described.

    To address this issue, we recommend the following steps:

    1. Check for Code Conflicts: Since you mentioned that both code snippets were working fine previously, it might be worth reviewing any recent changes made to your site or updates to plugins/themes that could have introduced conflicts. Ensure that both the rank-math.php and rank-math-ppl.php files contain the correct and updated code as per our documentation.

    2. Debugging: Temporarily disable other plugins (besides Rank Math) to see if there is a conflict with another plugin. This can help isolate the issue.

    3. Review Custom Code: Double-check the custom code you added to ensure there are no syntax errors or issues that could be causing the output problem. You can refer back to the Polylang Compatibility documentation for guidance on the correct implementation.

    4. Use Rank Math Support: If the issue persists, we recommend replying to your existing ticket with detailed information about the problem, including the specific code snippets you are using and any other relevant details. A human agent from our support team will be able to assist you further and provide tailored solutions.

    5. Consider Professional Setup Service: If you want to ensure that your Rank Math setup is fully correct and adheres to the latest SEO standards, you might consider our professional setup service. This service requires a PRO subscription and can help resolve complex issues like this one.

    Thank you for raising this concern, and we hope these suggestions help you resolve the issue effectively! If you have any further questions or need additional assistance, feel free to reach out again.

Viewing 1 replies (of 1 total)

You must be logged in to reply to this ticket.