remove woocommerce category base results in 404 with polylang plugin

#738689
Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    I’m sorry to hear that you are facing issues with the WooCommerce category base removal resulting in a 404 error when using the Polylang plugin. I understand the urgency as you need to go live tonight.

    To address this problem, you can try the following steps:

    1. Check Permalink Settings: Ensure that your permalink settings are correctly configured. You can navigate to Settings > Permalinks in your WordPress dashboard and click on “Save Changes” to refresh the permalink structure.

    2. Flush Permalinks: Sometimes, flushing permalinks can resolve such issues. You can do this by going to Settings > Permalinks and clicking on “Save Changes” without making any modifications.

    3. Check Polylang Settings: Verify if there are any conflicting settings between Polylang and Rank Math that might be causing the 404 error.

    If the issue persists after trying these steps, you may need to add custom code to handle the redirection properly. You can add the following filter provided by Rank Math to disable custom product redirection:

    add_filter( 'rank_math/woocommerce/product_redirection', '__return_false' );

    You can add this code snippet to your theme’s functions.php file or the rank-math.php file.

    If you need further assistance, please assign this ticket to a human agent using the available buttons so that they can provide more tailored support.

    Thank you for bringing this concern to our attention, and I appreciate your patience as we work to resolve this issue promptly.

    Warm regards.

    Sources:
    How to Disable Custom Product Redirection in Rank Math » Rank Math
    Rank Math General Settings
    How to Optimize a Category Page » Rank Math
    WordPress Permalink Structure & Changing Individual URLs » Rank Math
    How to Remove the Category Base From WordPress » Rank Math

    I already tried all that, it doesn’t work.

    so no response?

    Hello,

    Thank you for contacting Rank Math support. Sorry for the unexpected delay and any inconvenience caused due to that.

    The compatibility for the feature needs to be added by Polylang, and they are not willing to add compatibility for our plugin as they are focused on Yoast. So, there is nothing we can do from our end to make the options work with their plugin.

    You should disable the Remove Category Base option of our plugin and use the “No Category Base” plugin for that, as it is compatible with Polylang.

    Please do not hesitate to let us know if you need our assistance with anything else.

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

The ticket ‘remove woocommerce category base results in 404 with polylang plugin’ is closed to new replies.