Need Home link breadcrumb fix about a bug on rank-math-pll.php

#1029175
  • Resolved awaaxyb
    Rank Math free

    Hello,

    We use polylang & rankmath, we found a bug after using rank-math-ppl.php and rank-math.php (https://rankmath.com/kb/polylang-compatibility/) in our child theme, effectively before using rank-math-ppl.php the home link on the breadcrumb was redirecting to the default language homepage… After your code, it is better but we still have a problem and we think we find a bug that recquire a fix.

    We run WordPress, woocommerce and our polylang country are set with hreflang like it-it, pt-pt, sv-se, in the permalink for better geolocation.

    The problem is that the home link on the breadcrumb redirect to example.com/it instead example.com/it-it , example.com/pt instead example.com/pt-pt, etc… it do this for all country set in xx-xx code

    Thanks
    Let us know when can u update this
    Jb

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

    We apologize for the issue you are facing with the breadcrumb home link redirection when using Polylang and Rank Math. Thank you for bringing this concern to our attention.

    It seems that the current implementation in your rank-math-ppl.php file may not be handling the language codes correctly, which is causing the breadcrumbs to redirect to the incorrect URLs (e.g., example.com/it instead of example.com/it-it).

    To address this issue, we recommend checking the code in your rank-math-ppl.php file to ensure that it properly includes the language code in the breadcrumb links. You might need to modify the part of the code that generates the home link to append the correct language slug.

    If you would like, you can reply to this ticket with your current implementation of the rank-math-ppl.php file, and a human agent from our support team will take a closer look and provide specific guidance or updates as needed.

    Thank you for your patience, and we look forward to resolving this issue for you!

    We found another problem : sitemap_index.xml generated is not the same when we are connected or disconnected from admin panel.

    We use the default provided code for the rank-math-ppl.php tutorial here : https://rankmath.com/kb/polylang-compatibility/

    Hello,

    Thank you for contacting Rank Math support, and sorry for the unexpected delays and any inconvenience that might have been caused due to that.

    We might need to take a closer look at the settings. Please edit the first post on this ticket and include your WordPress & FTP logins 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,

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

The ticket ‘Need Home link breadcrumb fix about a bug on rank-math-pll.php’ is closed to new replies.