Possible Bug: Canonical URL for custom URL structure points to wrong URL

#61387
  • Resolved Anonymous
    Rank Math free

    Hello,

    I develop a project that comes with a Custom Post Type and a Custom Taxonomy.

    In my custom taxonomy, I have declared the following rewrite options:

    
    $rewrite = [
        'slug'         => 'katigoria-etaireion',
        'with_front'   => true,
        'hierarchical' => false,
    ];
    
    $args = [
        'labels'            => $labels,
        'hierarchical'      => true,
        'public'            => true,
        'show_ui'           => true,
        'show_admin_column' => true,
        'show_in_nav_menus' => true,
        'show_tagcloud'     => false,
        'rewrite'           => $rewrite,
        'show_in_rest'      => true,
    ];
    

    When I create hierarchically nested terms like: Auto & Moto -> Gas Stations the WordPress generates URL like the following one: /katigoria-etaireion/gas-stations but the placeholder in the field “Canonical URL” in the term editing page, is like this: /katigoria-etaireion/auto-moto/gas-stations/.

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

    Thank you for contacting Rank Math and sorry for 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 WP logins in the designated Sensitive Data section.
    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.

    Anonymous
    Rank Math free

    Unfortunately, I cannot share any access as my project is still in the development phase.

    I’ve just found this issue, and I thought was good to share with you 🙂

    If you literally create your own custom post type, and register the settings I’ve to send you, you probably will find the same issues as me 🙂

    Hello,
    We were able to reproduce the issue and have logged it. Please allow us some time to test and release a fix.

    It should be added to the plugin in a few week’s time. You can keep an eye on the changelog and we will be mentioning this error when fixed.

    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.

    Anonymous
    Rank Math free

    Pratik, thank you very much for your response.

    That’s sounds perfect !!

    Thank you again for your patient and your assistance 🙂

    Alberto
    Rank Math business

    Hello,

    Thank you for understanding it, we are working on it and hope to release it really soon. Do you want we set this thread as solved? We will be here to help you if you have any other questions or issues in the future.

    Looking forward to help you.

    Anonymous
    Rank Math free

    Hey Alberto,

    Of course and you could close it 🙂 Thank you very much for your assistance !! 🙂

    Kind regards
    Merianos Nikos

    Alberto
    Rank Math business

    Hello Merianos,

    We are super happy that we were able to help you with your issue (even if we have to wait until a fix is released). If you have any other questions in the future, know that we are here to help you.

    If you don’t mind me asking, could you please leave us a review (if you haven’t already) on https://wordpress.org/support/plugin/seo-by-rank-math/reviews/#new-post about your overall experience with Rank Math? We appreciate your time and patience.

    If you do have another question in the future, please feel free to create a new forum topic, and it will be our pleasure to assist you again.

    Thank you.

    Anonymous
    Rank Math free

    Yes sure, why not !! 🙂 I will do a review with a pleasure !! 🙂

    Hello,

    That will be very great.

    I will close this thread but please do not hesitate to let us know if you need our assistance with anything else.

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

The ticket ‘Possible Bug: Canonical URL for custom URL structure points to wrong URL’ is closed to new replies.